![]() |
#1
|
|||
|
|||
![]() I am trying to create a macro that runs through a document section by section and then inserts some text at the start and end of the section. e.g. Before Heading 1 Some text here Heading 2 Some text here SubHeading2.1 Table here Sub Heading 2.2 Table Here Some Text Here After Heading 1 STARTSome text hereEND Heading 2 STARTSome text hereEND SubHeading2.1 STARTTable hereEND Sub Heading 2.2 STARTTable Here Some Text HereEND When I run ActiveDocuments.Sections.Count, it returns 1 so I can seem to loop over it? Is this something to do with the way the sections have been added? |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
lou1990lou | Word VBA | 2 | 01-20-2019 02:39 PM |
![]() |
cspeid03 | Word | 1 | 05-17-2017 12:18 PM |
![]() |
pstidsen | Word | 4 | 02-08-2016 03:30 PM |
![]() |
Bpilgrim | Word | 2 | 09-04-2015 09:50 PM |
![]() |
mescaL | Word VBA | 3 | 11-03-2014 10:51 PM |