현재 페이지에 대한 세트 코드가 있습니다
var
MMMM, NNN, AAA : Olevariant;
시작하다
mmmm : = wdline;
NNN : = 1;
AAA : = WDFIELDPAGE;
WordApp.ActiveWindow.ActivePane.View.Seekview : = wdseekcurrentPageHeader;
WordApp.Selection.Move (MM, NNN);
WordApp.Selection.ParagrapHformat.Alignment : = wdalignparagraphCenter;
WordApp.Selection.InsertAfter ( 'part');
mmmm : = wdcharacter;
WordApp.Selection.Move (MM, NNN);
WordApp.Selection.Fields.Add (WordApp.Selection.Range, AAA, MMM, NNN);
AAA : = wdfieldnumpages;
WordApp.Selection.InsertAfter ( '페이지/챕터');
WordApp.Selection.Move (MM, NNN);
WordApp.Selection.Fields.Add (WordApp.Selection.Range, AAA, MMM, NNN);
WordApp.Selection.InsertAfter ( '페이지');
WordApp.ActiveWindow.ActivePane.View.Seekview : = wdseekmaindocument;
끝;
그러나 첫 페이지의 헤더를 수정하는 방법 만 수정할 수 있습니까?