![]() |
|
#2
|
||||
|
||||
|
Your use of 'ThisDocument' points the macro to them template itself, not to any document you might open. Your use of Selection also invites errors.
For more efficient code to update document headers & footers, see: https://www.msofficeforums.com/62942-post2.html
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
| Tags |
| dotm, headers, macro in word |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Quick Access Toolbar saved in Normal.dotm?
|
gogreen | Word | 2 | 10-08-2015 11:47 AM |
| Macro to add title in header is missing text once macro is run | shawnee24 | Excel Programming | 1 | 05-27-2015 11:50 PM |
| Macro to add title in header is missing text once macro is run | shawnee24 | Word VBA | 3 | 05-27-2015 12:35 PM |
macro not saved in normal.dotm
|
silveredge8181 | Word | 8 | 06-09-2014 07:58 PM |
Word fails to save backup of previous version of saved document
|
musawwir | Word | 1 | 11-05-2012 05:20 PM |