Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.vba.general,microsoft.public.word.docmanagement
|
|||
|
|||
DocProps - driving me crazy!
Hi,
I’m blank! Is it possible to write a toggle macro to toggle through 4 options for a DOCPROPERTY where the value is m or f or p or n = Mr or Mrs or Mr & Mrs or Blank I thought maybe I could set Gender = m OR f OR p OR n using a macro? I use male female plural neuter as my options – so I need a macro that can toggle also as well as a field nest that works: This is simple with Male or Female but I am trying to expand on this: {IF {DOCPROPERTY Gender \ * MERGEFORMAT } = male Mr Ms \* MERGEFORMAT } I need to add Male or Female or Plural or Neuter So far I have this field nesting: {DOCPROPERTY “gender” \ MERGEFORMAT } {IF { = AND({ IF {DOCPROPERTY “gender” } = “male” 1 0 }, { IF {DOCPROPERTY “gender” } = “neuter” 1 0 }) } = 1 “Mr” “Mr & Mrs” \ *MERGEFORMAT } Any ideas anyone please? |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
I CAN'T GET RID OF THIS LINE and IT'S DRIVING ME CRAZY! | Microsoft Word Help | |||
Section break issue. Please help. It's driving me crazy. | Microsoft Word Help | |||
Printing from word, it's driving me crazy | Microsoft Word Help | |||
Closing windows...driving me CRAZY! | Microsoft Word Help | |||
Word is driving me crazy! | Microsoft Word Help |