|
[SOLVED] Macro to Insert Table of Contents
Hi,
I'm a Word 2003 user and when I go to record a macro to insert a table of contents I have to change the show levels from 3 to 1, then go in to options and untick / remove some styles that I don't want to be included in the table. I then add the macro to a button. The problem occurs when I try to use the macro by clicking it - it displays 3 levels of styles instead of 1 within the table of contents.
Is this because recording macros doesn't recognise changing levels using a spinner and that the macro needs to be coded? Any assistance greatly appreciated.
Thanks in advance.
Kenneth.
|