PDA

View Full Version : Need Help Fixing Numbered Lists - Restart Lists After Consecutive Heading Styles



tstan
12-17-2015, 04:34 PM
Hello,

I am new to writing macros and would appreciate any help with the following issue:

I frequently create documents that contain multiple numbered lists. The Heading 2 Style and a few lines of text appear before and after each numbered list (except for the last list, where at the end no Heading appears). I spend a significant amount of time restarting the first number of each list, and fixing lists where the numerical order for whatever reason gets jumbled (e.g., 1, 2, 3, 7, 8, 9, etc.) If at all possible, can someone help me create a macro that will (1) restart each list after the Heading 2 Style, (2) fix any list that does not follow an ascending order, and (3) exit the macro when it reaches the end of the document?

Thank you in advance!

Todd