+ Reply to Thread
Results 1 to 4 of 4

Macro to list page number from the sheet

  1. #1
    Registered User
    Join Date
    12-03-2019
    Location
    Poland
    MS-Off Ver
    2013
    Posts
    21

    Macro to list page number from the sheet

    Hello Experts,

    Here is another issue I'm facing.Maybe someone know how to get around it.

    I have a workbook with multiple sheets.On the first page "main page" I'm getting sheet names using macro.
    Now next to the sheet names I want to get a first page numbers of the sheets (taken from the left footer of each sheet, based on the name from the list of sheets from Main page ).However....pages needs to be a continuation of previous sheet pages.
    For example: if sheet1 have 3 pages , then sheet2 first page number will be 4....and sheet2 have 2 pages so sheet3 first page will be 6 .And this is how I would like to have it listed:
    sheet1: page 1
    sheet2: page 4
    sheet3: page 6


    I have some macro doing this but the issue is it is not getting the page numbers only some formats from the footer.Probably I'm doing something wrong.
    I have attached a file whith macro.

    Much appreciate for anyone help.
    Umberto
    Attached Files Attached Files

  2. #2
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Macro to list page number from the sheet

    Maybe :
    Please Login or Register  to view this content.
    1. I care dog
    2. I am a loop maniac
    3. Forum rules link : Click here
    3.33. Don't forget to mark the thread as solved, this is important

  3. #3
    Registered User
    Join Date
    12-03-2019
    Location
    Poland
    MS-Off Ver
    2013
    Posts
    21

    Re: Macro to list page number from the sheet

    karedog,

    Amazing Works very,very well.

    Many thanks for Your time and help.

    Umberto

  4. #4
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Macro to list page number from the sheet

    You are welcome, thanks for marking the thread as solved and rep.points given.

    Regards

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. how to use vba to loop through web page to get a dynamic list of number
    By n07cn3 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-29-2016, 09:36 PM
  2. Number List for Ticket Printing, 4/page for 500 pages
    By rstoflet in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-25-2015, 01:28 PM
  3. Replies: 6
    Last Post: 11-17-2013, 01:40 PM
  4. List -> Table, inc. page number variable
    By Jwhitehouse in forum Excel General
    Replies: 8
    Last Post: 05-18-2009, 03:57 PM
  5. change page number in the same sheet
    By viman_in in forum Excel General
    Replies: 1
    Last Post: 06-18-2006, 01:45 PM
  6. Replies: 0
    Last Post: 11-22-2005, 10:50 AM
  7. page number middle of sheet
    By seeker53 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-16-2005, 08:05 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1