Table of Contents outline levels

R

Ricki Miles

I am using Word 2003, creating a macro that will generate a table of
contents for a particular style. I have three styles in the template that
have "level 1" paragraph outline level so that they will show in the
document map (ex. Style A, Style B, and Style C). I have tried recording a
macro that will only produce entries for Style A. While recording, I,
uncheck "use outline levels", I uncheck headings 1, 2, 3, I check Style A.
When I look at the VBA code, it says "UseOutlineLevels:=False".. However,
when I run the macro, it includes outline levels and the code for the TOC is
{TOC\o "1-9"\h \z \t "Style A,1"}. It seems to disregard the instructions I
recorded. What should I do to fix this?

TIA,

Ricki
 
R

R Miles

Hi Dave,

Thanks for your reply. I tried recording the macro by pressing Control+F9
and typing the TOC field manually and it seems to work that way. Thanks
again,

Ricki
 

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