Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-11-2011, 09:13 AM
Wyskers Wyskers is offline Nesting Variables SET, LISTNUM, and REF Windows 7 64bit Nesting Variables SET, LISTNUM, and REF Office 2007
Novice
Nesting Variables SET, LISTNUM, and REF
 
Join Date: Nov 2011
Posts: 5
Wyskers is on a distinguished road
Default Nesting Variables SET, LISTNUM, and REF

I am building a large 100 page document with many conditional clauses. The paragraphs need to be numbered sequentially, however depending on responses to ASK variables, some portions may not be included. Because of the length of some of the text portions, I have decided to use SET, and then retreive them usinf REF at appropriate times in the body of the document. I am having a problem with the paragraph numbers being sequential, or even showing up at all. Also, some of the SET text paragraphs have sub-paragraphs which need to be numbered. This is what I have:

{If ASKANSWER = 1 "{LISTNUM \l 2}{REF SETChoiceA}" "{LISTNUM \l 2}{REF SETChoiceEB}{LISTNUM \l 3}{REF SETChoiceEB1}{LISTNUM \l 3}{REF SETChoiceEB2}"



I broke the subparagraphs into seperate SET text responses.

I am not getting the paragraph numbers at all on the nerges, although the textr is coming in. Any thoughts?
Reply With Quote
  #2  
Old 11-13-2011, 05:43 AM
macropod's Avatar
macropod macropod is offline Nesting Variables SET, LISTNUM, and REF Windows 7 64bit Nesting Variables SET, LISTNUM, and REF Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
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

Hi Wyskers,

The problem with the numbering is most likely due to a limitation in the way LISTNUM fields work. Some simply don't work when embedded in other fields. It appears LISTNUM is such a field.

You may get better results by using paragraphs formatted with appropriate heading number Styles, but even these can be finnicky to embed in IF fields.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
changing variables in MS word - please help McGinzo Word 0 08-24-2011 06:25 AM
Convert LISTNUM field codes to text remedios43 Word 2 07-31-2011 09:21 AM
Nesting Variables SET, LISTNUM, and REF Update bookmarks and variables in document webharvest Word VBA 5 06-21-2011 03:22 PM
Envelopes with Document Variables mailtobln Word 0 02-11-2009 10:48 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:56 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft