Fields.Add Range:=Selection. Paragraphs(1).Alignment = wdAlignParagraphCenter Click the Insert tab and choose the Header button. First, to be able to see what youre doing, press Ctrl+Shift+8 or press the ¶ button on the Home ribbon to display nonprinting characters. Its a total -up and needs to be replaced. Select of from the drop-down menu. You can also insert Page X of Y into the header by clicking the Header button in the Header & Footer section of the Design tab. It happens to include a paragraph mark, and the paragraph properties dont inlcude any tab settings. To add a code that inserts the total number of pages in the document, click Number of Pages in the Header & Footer Elements section of the Design tab. To change the page numbering in the section, click Page Number in the Header & Footer or Header & Footer Tools Design tab and click Format Page Numbers. Drag over the page number field to select it. Locate the document you wish to open and select it then click Open. The Page X of Y item on the Header & Footer gallery is a Building Block. Choose Current Position and then Plain Number. You can press Ctrl + F12 on the keyboard to display the Open dialog box. Y is the total number of pages in the document. Sometimes people ask: How to display both 'Page X of Y Pages' and 'Page X of Z Pages' in the header/footer of a document Where X is the page number referenced to Y or Z. Furthermore, the Online PDF Converter offers many more features. Open the document you wish to add a header to. The Word MVP FAQ site has several helpful articles on page numbering: Numbering FAQs. Headers(wdHeaderFooterPrimary).Range.Select You can easily convert your WORD files to JPG with this online tool. Creating "Page X of Y" Page Numbers : Document Header Footer « Word « VBA / Excel / Access / WordĪctiveDocument.Sections() _
0 Comments
Leave a Reply. |