![]() |
|
|
|
#1
|
||||
|
||||
|
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 |
|
#2
|
|||
|
|||
|
Hi, Guessed
I am doing a program using UiPath to check for errors in the exam paper(which is the word document). Right now I am trying to check if the header text in the exam paper is equal to the cover page title and module code. Thus, I want to get all the header text to ensure all header text is correct. Thank you |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Apply template with headers/footers to an existing Word document Files | qadeerahmed | Word | 5 | 05-08-2017 05:28 AM |
| Headers & Footers - Show Document Text | Aprilann | Word | 6 | 04-13-2017 09:34 AM |
Word 2007 - different text for odd and even headers?
|
JQP | Word | 4 | 10-09-2011 06:49 PM |
| How do I have headers and footers appear as regular text for the whole document? | user908045 | Word | 0 | 03-13-2010 12:41 PM |
| Portrait & Landscape Headers in Same Word Document | Coast331 | Word | 0 | 10-24-2009 02:39 PM |