Displaying multiple variable headers in a document.

J

jedale

Does anybody know how to setup a styleref so that it exhibits the
functionality as talked about in this thread:
http://groups.google.com/group/micr...t/browse_thread/thread/6a52993260ead7f9?hl=en

I would like to know how to set it up so that "if we were on Section
2, it would say Section 2 in the [header]. If we were on Section
3.1.8, it would say Section 3.1.8 in the [header]. If
more than one number sequence appeared on the page, it displayed the
first
one shown on that page." does anybody know how to write this code in
word?

I have only recently found out that you can code this way in word, so
if anybody can help me get started with some code (whether it works or
not). It would help me determine what I need to read up on to get
this kind of functionality.

Thanks for any and all help on this,
Jeff
 
G

grammatim

I had to do something like that several years ago, and I don't
remember the specifics, but the name to look for in Help or in
searching this newsgroup is "dictionary-style headers."
 
J

jedale

I have been searching around for the above topic but I can't seem to
find any code to get me started. Do you know of a specific website
that would help me out?

Thanks,
Jeff
 
J

jedale

Thanks for your response. I have looked at your website in the past
and it is very informative. So all I have to do is some kind of
nested if statements:

{IF STYLEREF "1.0 Outline" <> 0 "{STYLEREF "1.0 Outline"}" ""} {IF
STYLEREF "2.0 Outline" <> 0 "{STYLEREF "2.0 Outline"}" ""} {IF
STYLEREF "3.0 Outline" <> 0 "{STYLEREF "3.0 Outline"}" ""}

I am not at work right now so I can't test it, but would the above
statement be sufficient for doing dictionary style headers? Or would
I have to do some nested if statements?

Thanks for your time,
Jeff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top