View Single Post
 
Old 02-08-2019, 01:31 AM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,159
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

I still don't see the point of 'getting all the headers'. What are you going to do once you 'get them'? The text content of the header range is not particularly useful. It doesn't show the layout such as tables or graphics.

If you want a macro to ensure all the headers in the document contain the desired content then there is no need to find out what is already there - simply replace the headers with your desired content.

There are other things besides headers to worry about if you are trying to standardise page furniture content such as page setups for each section. You can store all these things in a section break saved as a building block. Then you can standardise the doc by using a macro that removes section breaks and then adds the building block to the end of the document. If you then copy the relevant settings to the final section you can then remove the section break.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote