View Single Post
 
Old 04-21-2025, 05:43 AM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by gmayor View Post
If the aim is to simply transpose the contents ...
If that's the case, the simplest way would be to use two custom document properties - SpouseA and SpouseB, with corresponding DOCPROPERTY fields at the relevant locations and simply swap the document property contents, then do a print preview to update the display. The same could be done for variable his/her, him/her, he/she & husband/wife references, too. Indeed, for the his/her, him/her, he/she & husband/wife references, a single custom document property could be used, holding just the sex (m/f) and the custom document property fields could be combined with IF field tests to conditionally output the his/her, him/her, he/she & husband/wife content, as appropriate. basically, just three custom document properties for all the variations you need to deal with - two for the names & one for the sex.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote