View Full Version : [SOLVED:] Remove Mail Merge Fields From All Headers & Footer (Except Page Numbering)
jimmycooker
04-07-2022, 08:07 AM
Just wondering can anyone help with this?
I need to remove all Mail Merge (convert to text / leave same formatting) from All Headers & Footers (while leaving page numbering as is).
All attempts at this so far have worked for the first header, but stop when the page changes to landscape.
Also, is there a way to link headers between landscape / portrait pages changes?
Greatfull in advance!
Thanks,
James.
macropod
04-07-2022, 03:21 PM
Cross-posted at:
Macro to Remove Merge Fields / Format Black (All Headers) (msofficeforums.com) (https://www.msofficeforums.com/word-vba/49069-macro-remove-merge-fields-format-black-all.html)
WORD: Macro to Cycle Through Headers & Remove Merge Fields / Change Formatting to Black | MrExcel Message Board (https://www.mrexcel.com/board/threads/word-macro-to-cycle-through-headers-remove-merge-fields-change-formatting-to-black.1205930/)
(Answered at the latter)
Please read VBA Express' policy on Cross-Posting in Rule 3: http://www.vbaexpress.com/forum/faq.php?faq=new_faq_item#faq_new_faq_item3
Also, is there a way to link headers between landscape / portrait pages changes?
Yes - simply use the 'same as previous' option. Do note, though, that the header/footer layout won't auto-adapt to the changes in page widths.
Chas Kenyon
04-09-2022, 08:31 AM
To have header/footer width adapt between portrait and landscape use Alignment Tabs (http://www.addbalance.com/usersguide/sections2007.htm#AlignmentTabs).
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.