+ Reply to Thread
Results 1 to 3 of 3

using Excel VBA to append a page to a PDF file

  1. #1
    Registered User
    Join Date
    11-18-2016
    Location
    Luxembourg
    MS-Off Ver
    excel 2015
    Posts
    6

    using Excel VBA to append a page to a PDF file

    or to create a PDF with more than one page ....

  2. #2
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: using Excel VBA to append a page to a PDF file

    Welcome to the forum!

    That is really two questions with two solutions.

    You can record a macro to see how creating a PDF with more than one page is done. Some would do a page per worksheet. Simply select your worksheet(s) with the print ranges already set that you want, then then create the PDF. This method does order the selected worksheets by their index position though.

    For the subject line solution, VBA would work with a 3rd party program to do that. Obviously, Acrobat (not the Reader), is the best one. Others might be: PDFCreator, PDFtk, PDFsam, PDFill, etc.

  3. #3
    Registered User
    Join Date
    11-18-2016
    Location
    Luxembourg
    MS-Off Ver
    excel 2015
    Posts
    6

    Re: using Excel VBA to append a page to a PDF file

    Thanks Ken,
    after a few more trails based on your advice I did realize that
    you could select different ranges from same or different sheets,
    before going to exportasfixedformat
    and he prints them on pages one after the other to PDF,
    and that is ok for my current purposes
    cheers from Luxembourg;
    Jean-Claude

+ 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. Replies: 0
    Last Post: 01-20-2015, 10:07 PM
  2. Copying and Paste Append to an Access file from Excel.
    By ToddHarmon in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-17-2013, 08:09 AM
  3. [SOLVED] Append data to a Excel file from a Template
    By kailassingh in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-07-2013, 10:24 AM
  4. Trying to Append an Excel file based on a look up table
    By dcilley@live.com in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-06-2013, 08:25 PM
  5. Run macro on many csv files and append only one row into master excel file
    By Novice123 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-31-2012, 09:45 AM
  6. How to append worksheet into one excel file based on date
    By jopanda25 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-18-2010, 12:32 PM
  7. Trying to Append File using the example in excel but not working
    By Susan Hayes in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-13-2005, 08:40 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