![]() |
#1
|
||||
|
||||
![]()
Hi, VBA Pros
I'm currently using the code below to add or remove numbering to/from a specific custom style in a document. All works perfectly but the numbering needs to restart from "1" on each new page. At the moment I'm simply scrolling through each page pressing Word's built-in "Restart Numbering" but I'm wondering if VBA can do it for me in one swift stroke. It can be an entirely separate macro if needs be. The most important bit is that I must be able to toggle the numbers on and off without any undue complications, which the existing code allows. EDIT: Just to add that "Custom Style Numbered" will not always be at the top of a page, if it makes any difference. The document contains a number of styles but this is the only one which should include optional numbering. (This is something I've been battling with for several years, by the way!) Quote:
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
kaurp | Word VBA | 5 | 11-02-2017 04:36 AM |
How can I define a numbering style restarting numbering after an outline by default | jklocker | Word | 1 | 09-26-2017 05:11 AM |
![]() |
jp91306 | Word | 3 | 01-01-2016 12:27 AM |
![]() |
cotjoey | Word | 11 | 09-21-2014 07:54 AM |
![]() |
Helix86 | Word | 5 | 08-07-2013 10:48 PM |