![]() |
#1
|
|||
|
|||
![]()
Hi,
First off apologies, I know next to nothing about VBA. Have been given an output from another program which I need to put into Word to tidy up as a report. The original programmer has put the title as Heading 1 and then Heading 1 as Heading 2 etc, etc. I don't have the code so can't fix at source. What I need to do is iterate through the headings and promote them up a level. There is only one Heading 1 so that would become title. Heading 2 = Heading 1 etc etc. Have found some code to create a Table Of Contents, but not sure how to set where I want to put it. There is some text before the first Heading 1/title which is always the same so can get rid of, but the Heading will contain varying text so cannot do a standard find. Want to do all of this in Macros as there will be a lot of these reports to do over the coming months. Many thanks for any help you can offer. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
NNL | Word | 1 | 08-09-2017 02:52 PM |
Numbered headings go nuts after level 3/4 | billy8b8 | Word | 11 | 02-05-2016 08:02 PM |
![]() |
emmyb | Word | 1 | 09-10-2014 11:30 AM |
Config style to restart numbering if it it comes after a style of a higher level | ghumdinger | Word | 7 | 08-31-2011 01:10 AM |
![]() |
falieson | Word | 1 | 06-18-2010 12:01 AM |