Re: Automating creation of a PDF document from Word via VBA
- From: "rtrsr" <rick@!nospam!carolinacourtroomlawyers>
- Date: Fri, 24 Jun 2005 09:41:48 -0400
Graham,
I posted a related inquiry over in the VBA-General Newsgroup. My idea there
was to brute-force a solution by passing the keystrokes for the document
name straight into the PDF-Creating dialog box - sorta like we used to do
with the "original" macros back in the Days of DOS.
I got a one-word response from "Steve Hudson - Word Heretic":
=========
SendKeys
=========
OK, I've looked this up on
http://msdn.microsoft.com/library/?url=/library/en-us/script56/html/wsmthsendkeys.asp
and, at first blush, this looks like a hopeful solution.
Do you have any experience with this? If it won't work, I'd sure like to
know it before I waste time hammering away.
Rick Rodgers
"Graham Mayor" <gmayor@xxxxxxxxxxxxxxxxxx> wrote in message
news:eGtkv2KeFHA.3280@xxxxxxxxxxxxxxxxxxxxxxx
> The Adobe macros are not accessible for editing and will always prompt for
> the filename (while offering the original document name) I see no way to
> by-pass that without access to the Adobe code. Printing to the Adobe
> driver
> *may* be possible but my attempts to introduce the filename in vba code
> still results in a stop at the filename screen.
>
> --
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> Graham Mayor - Word MVP
>
> My web site www.gmayor.com
> Word MVP web site http://word.mvps.org
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
>
>
>
> Amedee Van Gasse wrote:
>> rtrsr shared this with us in microsoft.public.word.docmanagement:
>>
>>> I can't find a PDF creation system (at least one that I can afford)
>>
>> There you have it. I believe this /should/ be possible (not sure,
>> didn't try it) with the full Adobe Acrobat. It installs some macros,
>> and I would be surprised if those macros couldn't be used in some way.
>
>
.
- Follow-Ups:
- Re: Automating creation of a PDF document from Word via VBA
- From: Graham Mayor
- Re: Automating creation of a PDF document from Word via VBA
- References:
- Automating creation of a PDF document from Word via VBA
- From: rtrsr
- Re: Automating creation of a PDF document from Word via VBA
- From: Amedee Van Gasse
- Re: Automating creation of a PDF document from Word via VBA
- From: Graham Mayor
- Automating creation of a PDF document from Word via VBA
- Prev by Date: Re: Automating creation of a PDF document from Word via VBA
- Next by Date: Re: new blank document size
- Previous by thread: Re: Automating creation of a PDF document from Word via VBA
- Next by thread: Re: Automating creation of a PDF document from Word via VBA
- Index(es):
Relevant Pages
|