+ Reply to Thread
Results 1 to 2 of 2

Print Webpage to pdf with VBA

  1. #1
    Registered User
    Join Date
    01-17-2017
    Location
    NEW JERSEY
    MS-Off Ver
    10.0
    Posts
    28

    Print Webpage to pdf with VBA

    hi,

    I am using the following code i found online to print multiple webpages to PDF.

    Please Login or Register  to view this content.
    Problem is that some users have Adobe Reader or Adobe Acrobat Reader DC and not Adobe Acrobat Standard that the code is using on this line.

    Please Login or Register  to view this content.
    How do i get it to close the PDF with whatever versions of Adobe the user has?

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Print Webpage to pdf with VBA

    Hi MarkFltc,

    Assuming the code works OK up until the Close code, you could try something like the following (untested) code:
    Please Login or Register  to view this content.
    Kewus

+ 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. Webpage not updating with values entered into webpage inputbox
    By anrichards22 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-28-2016, 08:16 AM
  2. Macro to open up webpage and print to pdf
    By glide2131 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-17-2014, 05:01 PM
  3. ' Print Current Webpage
    By excelcandy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-22-2013, 10:20 AM
  4. [SOLVED] Load webpage on TOPMAN website, extract prices from webpage into Spreadsheet
    By AKK9 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-04-2013, 11:49 AM
  5. [SOLVED] Print Online PDF Webpage
    By Kelshaer in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-15-2012, 04:18 PM
  6. Loop, Save Print Area as Published Webpage to Folder
    By mh104916 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-19-2012, 01:32 PM
  7. Print button on webpage published from Excel
    By marknierop in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-07-2010, 06:26 AM

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