View Single Post
  #2   Report Post  
Posted to microsoft.public.word.pagelayout
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default Word VBA Numbered Lists

Note that you can do this by carefully setting up numbering associated with
paragraph styles, one for each numbering level, in the template. This is
discussed in the article at
http://www.shaunakelly.com/word/numb...g20072010.html.

Is there a reason you want to do this with VBA?

--
Stefan Blom
Microsoft Word MVP





"reganhayward" wrote in message
...

Hi all,

Hopefully a quick one!

I'm using Word 2003 and want to create some automated numbered lists for
a template. ie three buttons, Level 1, Level 1.1, Level 1.1.1

I tried using the macro recorder and setting them up but I got all 9
chunks of code for each level and and couldn't select past the first
level

The thing I cant seem to figure out is how to program the buttons so it
will change any text to only the level I choose - but also link up to
the others if they are present above - and update the ones that follow.

Apologies if this has been mentioned before - I have looked through
multiple pages of threads and haven't been able to find anything.

Thanks in advance!




--
reganhayward