Consulting

Results 1 to 2 of 2

Thread: Return Footer or Header Page Number

  1. #1
    VBAX Newbie
    Joined
    Jun 2021
    Posts
    1
    Location

    Return Footer or Header Page Number

    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:
    CurPage = Selection.Range.Information(wdActiveEndPageNumber)

  2. #2
    VBAX Contributor rollis13's Avatar
    Joined
    Jun 2013
    Location
    Cordenons
    Posts
    146
    Location
    Just to add missing crosspost link: LINK

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •