View Single Post
 
Old 12-22-2015, 01:35 PM
Cosmo Cosmo is offline Windows Vista Office 2007
Competent Performer
 
Join Date: Mar 2012
Posts: 240
Cosmo is on a distinguished road
Default Variable text field code based on occurrences on each page

I have a document with a specific text which will need to display 2 versions, a longer version the first time it appears on each page, and a shorter version every time it appears thereafter on the same page.

e.g. suppose a company name 'Widgets R Us (a widgetco subsidiary)' and it's shorter version 'Widgets R Us'

I have this working using a macro in another document, but this current document will have an area where the user will edit text in a certain area within the document, and I can't use the macro to cleanup afterwards.

Is there a way to do this (either using field codes or some other device) which will automatically update when the text reflows as the user is editing the text?
Reply With Quote