Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / July 2005

Tip: Looking for answers? Try searching our database.

Word VBA to PDF... some questions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike Starr - 18 Jul 2005 01:34 GMT
Cross posted... WORD-PC@liverpool.ac.uk and
news:\\microsoft.public.word.vba.general

I've made a template for a client and one of the requirements is that the
user be able to click a button and automatically create four different PDF
versions of the document (one version each with a different one of three
logos and a fourth version with no logo). I've got the macro working fine
printing to the Acrobat Distiller printer driver but haven't figured out:

1. how to preset the PDF file save path (I want it to automatically save the
PDF files in c:\<client name>\Marketing sheets) and

2. how to get VBA to automatically "click" the Save button in the PDF save
dialog box.

3. keep Acrobat from popping up its own window and covering up the Word
window with the second, third and fourth Save dialog boxes.

Am I going to need to create a custom Acrobat Job Options file to deal with
these things??

Any pointers??

Thanks much.

Mike Starr

--
Mike Starr                            WriteStarr Information Services
Technical Writer  -  Online Help Developer  -   Technical Illustrator
Graphic Designer    -    Desktop Publisher   -       MS Office Expert
(262)  694-1028  -  mike@writestarr.com  -  http://www.writestarr.com
Michael Bednarek - 18 Jul 2005 10:17 GMT
On Sun, 17 Jul 2005 19:34:48 -0500, "Mike Starr"
<mike@REMOVECAPITALSTOREPLYwritestarr.com> wrote in
microsoft.public.word.vba.general:

>Cross posted... WORD-PC@liverpool.ac.uk and
>news:\\microsoft.public.word.vba.general
[quoted text clipped - 18 lines]
>
>Any pointers??

Use the Acrobat PdfDistiller object instead. I've poste some code
fragments in earlier threads:
<http://groups.google.fi/groups?threadm=081401c3820b%241ed766b0%24a101280a%40phx.gbl>
<http://groups.google.fi/groups?selm=1g9h11hp4hp219h5hja6f36ksbphgi89hr%404ax.com>

Signature

Michael Bednarek   http://mbednarek.com/   "POST NO BILLS"

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.