![]() |
|
#1
|
|||
|
|||
|
hello, what is the proper VBA syntax to return the footer or header page number (i do not know ahead of time where it will be located. i can take care of the logic, i just need the object.method call to return footer/header page number)
i tried , but this returns the sequential page number not the page number listed in Document at the footer or header (some documents will have a Preface with roman numerals so i need to be able to identify this). thanks HTML Code:
' only returns sequenced page #, i want the page number in footer or header CurPage = Selection.Range.Information(wdActiveEndPageNumber) |
| Tags |
| footer and header, word vba code |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Return Page Number of Paragraph Number
|
SamDsouza | Word VBA | 4 | 03-04-2021 09:37 PM |
| Different header and footer for first and second page | Maupiti | Word | 2 | 02-08-2021 05:44 PM |
| Don't want page number or date in footer on first page, do want graphic in header. | dianahbr | Word | 2 | 02-23-2018 09:25 AM |
begin each section with page 1 in header PLUS continuous page numbering in footer
|
onemorecupofcoffee | Word | 18 | 09-04-2013 04:31 PM |
| How to save the current page in a new file with all the page settings (header, footer | Jamal NUMAN | Word | 6 | 03-15-2012 03:27 PM |