+ Reply to Thread
Results 1 to 4 of 4

sequentially number multiple copies of the same page

  1. #1
    Registered User
    Join Date
    04-22-2008
    Posts
    4

    sequentially number multiple copies of the same page

    Hello!

    I have 1 worksheet that I need to print out 100 time and I need to put the page numbers in the footer (1 of 100, 2 of 100, etc)

    Does anyone know how I do this?

    I posted this message in the General forum earier but I think that is the wrong forum so I'm posting it here.

    Thanks in advance.
    Kerri

  2. #2
    Registered User
    Join Date
    03-31-2006
    Posts
    39
    Try

    Sub Print1()
    Number = 1
    Do Until Number = 101
    Range("A1") = Number
    ExecuteExcel4Macro "PRINT(1,,,1,,,,,,,,2,,,TRUE,,FALSE)"
    Number = Number + 1
    Loop
    End Sub

    Range("A1") is position of footer.

  3. #3
    Registered User
    Join Date
    04-22-2008
    Posts
    4
    I'm new at this...where do I put the code?

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    ingleg, please edit your post to add code tags.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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