+ Reply to Thread
Results 1 to 5 of 5

Printing PDFs file with Excel Sheets With Page Numbers

  1. #1
    Registered User
    Join Date
    05-25-2012
    Location
    Chennai,TamilNadu,India
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    61

    Printing PDFs file with Excel Sheets With Page Numbers

    Hi Folks,

    I am trying to build a system for my department by using an excel macro. This excel file will have 3 sheets first two sheets will have my process data, and third sheet in "A" column which contains a list of pdf file names along with their paths. What I want to achieve is, when I run this macro it should print my two sheets, after which it should print pdf files one by one. The most important is, we want to see the page numbers at the bottom in the format ("Page 1 of 13"). What we see as a challenge here is , printing the pdf files located in a particular path secondly assigning the page numbers even the pdf sheets.

    It would be of great help for us if you could give us the solution.

    Example file is also attached for your reference.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Printing PDFs file with Excel Sheets With Page Numbers

    Do it as a macro, then look at the code, this is on the Save As PDF.
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Registered User
    Join Date
    05-25-2012
    Location
    Chennai,TamilNadu,India
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    61

    Re: Printing PDFs file with Excel Sheets With Page Numbers

    Sorry, If I have not listed my requirement properly. I do not want to convert the excel sheets to pdf. I want to print first two sheets of my excel normally and third sheet contains the names of pdf files which I want to print. Is it possible to print an external pdf file from excel. If so, can it print with page number at the bottom of each page?

  4. #4
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Printing PDFs file with Excel Sheets With Page Numbers

    Oh i see, so you'll want to add something to the PDFs that you open, like a watermark with the page numbes, so they will start at 3?

    Automating PDF is difficult, i did it in C# using the Acrobat libraries and it was horrendous, the documentation from Adobe is no help, i had to do it all by trial and error.

    Google Automating Acrobat and you'll see, download the docs as its a good place to start

  5. #5
    Registered User
    Join Date
    05-25-2012
    Location
    Chennai,TamilNadu,India
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    61

    Re: Printing PDFs file with Excel Sheets With Page Numbers

    Let me describe it in this way. Imagine we have a pdf file name "test.pdf" which contains 30 pages. Through a macro from excel, I want to print only 5th, 7th & 12th page of the test.pdf file. Is this possible?

+ 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. Printing excel page to Nitro PDF Creator(Pro 8) with File name = cell value
    By ebin charles in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 07-01-2014, 02:34 AM
  2. Printing selected sheets and Page numbers
    By BPat in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-06-2011, 10:05 AM
  3. Replies: 1
    Last Post: 03-10-2009, 10:36 AM
  4. Printing Page numbers in Excel sheet
    By bhargav in forum Excel General
    Replies: 1
    Last Post: 01-10-2007, 08:25 AM
  5. [SOLVED] Generating many pdfs from an excel file
    By Terry in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-13-2005, 02:06 PM

Tags for this Thread

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