Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Showing and hiding text based on variable.
I'm currently using some word IF expressions in a word document that say IF 'text' = 'text' 'Display something' ''
The problem is that now rather than just displaying a string of text it needs to be a paragraphy with bold formating, bullets etc. I'm assuming I might need to create a macro to do this but don't know where to start. I'm guessing one way is to get the macro to run the moment the doc loads and replace a string with the text or unhide specific paragraphs... Any ideas?! |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Showing and hiding text based on variable.
Hi,
I'm currently using some word IF expressions in a word document that say IF 'text' = 'text' 'Display something' '' which version of Word? The problem is that now rather than just displaying a string of text it needs to be a paragraphy with bold formating, bullets etc. You can save the text as AutoText entry and include the AutoText field into the IF field. -- Cheers Lisa [MS MVP Word] |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Showing/Hiding Styles in Word 2007 | Microsoft Word Help | |||
Showing/hiding sections of a Word document | Microsoft Word Help | |||
Multiple labels from one row in the data list based on a variable | Mailmerge | |||
Automatic Hiding of Tables based upon value in first cell | Tables | |||
Hiding/showing a table with VBA | Microsoft Word Help |