mercredi 22 juin 2016

Create an If statement comparing a custom field MS Word

I'm trying to create an if statement (in MS Word) that looks at a custom field.

The custom field is DocProperty Client_ABV

I want it to print a line of text if client_abv matches a certain value else be completely blank (or delete the empty line if possible)

I believe it needs to look something like this:

{IF DocProperty.Client_ABV="Test" "Print this line if Test",""}

I've very little experience with this function in Word but I have some with conditional programming.

Can anyone shed any light. I've been googling it for the last 45 minutes and have had little success with the example pages I've found.

Aucun commentaire:

Enregistrer un commentaire