WORD 2010 Macro for Editing Headers & Footers

前端 未结 2 1153
时光说笑
时光说笑 2021-02-09 04:05

I have only basic VBA experince and my prior Macro experence was primarily with WORD 2003. Recording Macros used to take GoToFooter (or Edit Footer) Menu Commands and allow sub

2条回答
  •  梦毁少年i
    2021-02-09 05:04

    This worked for me for all pages in the document.

    word.ActiveDocument.Sections(1).Headers(1).Range.Text = "Put the header here"

提交回复
热议问题