Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 25th, 2006, 02:48 PM
Registered User
 
Join Date: Sep 2006
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default VBA to create PDF from webpage

I did a bit of googling on the problem, but so far, I haven't found anything substanial, so hopefully someone here can help me.

My group at work produces a number of reports using Excel and SQLServer each day. With most of these reports, we use the PDF distiller via VBA to print each report, then attach the resulting file in an email.

On one report, it has evolved into becoming a bit of a guide and is over 20 pages now. As such, the recipients requested that we add some clickable links in the table of contents to make jumping to the apporiate section easier. I have accomplished this by the following:

1) The table of contents is on a seperate sheet in the excel file. The names of each section have a hyperlink to the PDF files that we generate for each section. I save this sheet as an htm file.

2) Each of the reports is printed using the distiller into a seperate PDF document, tha the table of contents has a link to.

3) I open Adobe Acrobat and click "Create file from web," select the Table of contents htm file, select "Acquire entire webpage," and it creates the entire 20+ page report, complete with active hyperlinks in the table of contents that jump the user directly to the report they want.

4) I then save this file and exit Adobe Acrobat.

5) I go back into my Excel file and run a macro that attaches the combined PDF file to an email.


What I would like to do is to program, via VBA, the whole "Create from website" part so that the whole thing is done automatically.

Anyone every attempt something like this?

I looked online to see if I could find some documentation on programming Adobe, even called their tech support line (who is not very helpful when it comes to programmically using their product), but no luck so far.

Thanks!

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2000 Create PDF with VBA ralf.schmitt@rsdv.de Excel VBA 8 March 5th, 2008 03:36 PM
create buttons dynamically on webpage rocksbhavesh ASP.NET 1.0 and 1.1 Professional 5 April 19th, 2007 05:20 PM
Copy data from webpage to excel using vba kg8299 Excel VBA 0 April 5th, 2006 03:51 AM
display a pdf in a webpage crmpicco Classic ASP Basics 3 February 8th, 2005 09:59 AM
Show PDF without a webpage?? morpheus Classic ASP Basics 2 March 6th, 2004 09:05 AM



All times are GMT -4. The time now is 06:43 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.