PC Review


Reply
Thread Tools Rate Thread

Code to Run PDF Maker

 
 
=?Utf-8?B?RGV2RGFuaWVs?=
Guest
Posts: n/a
 
      27th Mar 2007
I have:
Excel 2003 and Acrobat 7.0 Pro installed on my PC. The Excel file has many
worksheets (150+) and many relative hyperlinks. I have 900+ Excel files to
convert, so I need an automated solution.

I want:
Excel VBA code to run the PDF Maker.

- I tried printing the file to the Acrobat PDF printer, but this does not
convert the bookmarks into hyperlinks.
- Using Adobe PDF >> Convert to Adobe PDF converted the hyperlinks, but this
is a manual process I want to automate.
- I tried the Excel Create Macro tool to get the code, but it did not record
the Adobe PDF menu commands.

Any suggestions?
 
Reply With Quote
 
 
 
 
=?Utf-8?B?RGV2RGFuaWVs?=
Guest
Posts: n/a
 
      28th Mar 2007
I found a workaround on the PlanetPDF website. It launches the PDFMaker
button on the PDFMaker 7.0 toolbar. The code for launching the button is:

Dim cbar As CommandBar

For Each cbar In CommandBars
If cbar.Type = msoBarTypeNormal Then
If cbar.Name = "PDFMaker 7.0" Then
cbar.Controls(1).Execute ' press 1st button on PDFMaker 7.0
toolbar
End If
End If
Next cbar



"DevDaniel" wrote:

> I have:
> Excel 2003 and Acrobat 7.0 Pro installed on my PC. The Excel file has many
> worksheets (150+) and many relative hyperlinks. I have 900+ Excel files to
> convert, so I need an automated solution.
>
> I want:
> Excel VBA code to run the PDF Maker.
>
> - I tried printing the file to the Acrobat PDF printer, but this does not
> convert the bookmarks into hyperlinks.
> - Using Adobe PDF >> Convert to Adobe PDF converted the hyperlinks, but this
> is a manual process I want to automate.
> - I tried the Excel Create Macro tool to get the code, but it did not record
> the Adobe PDF menu commands.
>
> Any suggestions?

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows DVD Maker - error loading DVD maker project file torquay36 Windows Vista General Discussion 0 9th Jul 2008 02:39 AM
Scenes disappearing when going from Movie Maker to DVD Maker =?Utf-8?B?dm9sczg4?= Windows XP MovieMaker 2 3rd Sep 2007 02:06 PM
Vista Premium - Movie Maker, DVD Maker - problems! =?Utf-8?B?QWxpc29u?= Windows Vista General Discussion 0 21st Aug 2007 02:34 PM
VISTA HOME PREMIUM AND MEDIA CTR,MOVIE MAKER AND DVD MAKER =?Utf-8?B?RkxPQklF?= Windows Vista General Discussion 4 16th Jun 2007 04:59 AM
looking for a stand alone flash card maker (not a quiz maker) - no install *ProteanThread* Freeware 0 20th Jul 2005 05:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:21 AM.