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 / January 2006

Tip: Looking for answers? Try searching our database.

Manipulate pdf from VBA, type library

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
netloss - 04 Jan 2006 01:32 GMT
Hi,

I'm trying to manipulate a pdf document from vba. Currently I am using
Acrobat 6 Pro, Word 2000 and Windows XP, but I didn't find any 'Acrobat
6' type library (only Acrobat 7) in the list of References available in
Word.

Thanks in advance for any help,
NL
Jean-Guy Marcil - 04 Jan 2006 03:33 GMT
netloss was telling us:
netloss nous racontait que :

> Hi,
>
[quoted text clipped - 5 lines]
> Thanks in advance for any help,
> NL

Have you seen the answer to a nearly similar question posted 2 hours before
your own post?

If not, see the message
   "pdf converter within Word VBA"
by
   Gerie Alards
posted on
   January 3rd
at
   4:59 pm.

If that does not help write again!

Signature

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org 

netloss - 04 Jan 2006 19:16 GMT
I did see that post, but I didn't realize it had much to do with my
question.

So, if I (re)read Gerie Alards's post correctly, the answer to my
question is "It can't be done" with word 2000 and acrobat 6 because
word 2000 simply doesn't support that kind of thing?

If that's true , then it can't be done with word 2000 and acrobat 7
either, even though a type library for acrobat 7 is listed in the
References for word 2000?

Gerie Aldrads post also indicated that this cant' be done with
pre-office 12 i.e. can't be done with word 2002 or 2003 either, right?

Thanks, merci beaucoup,
NL
netloss - 04 Jan 2006 19:36 GMT
OK, so I found the type library for acrobat 6. It's just called
'Acrobat' in the Reference list and magically changes to 'acrobat 6
type library' once you select it (not a very helpful feature).

So, I guess I misinterpreted Gerie's post reply. Which part is similar
to my (potentially solved for now) problem? Sorry if it's staring me in
the face, but I don't see it.

Thanks,
NL
Jean-Guy Marcil - 05 Jan 2006 00:12 GMT
netloss was telling us:
netloss nous racontait que :

> OK, so I found the type library for acrobat 6. It's just called
> 'Acrobat' in the Reference list and magically changes to 'acrobat 6
[quoted text clipped - 3 lines]
> to my (potentially solved for now) problem? Sorry if it's staring me
> in the face, but I don't see it.

No problem.

I think you want to genetrate pdf files form WOrd document through VBA,
right?

If so, Perry's post (in reply to Gerie'S) has some code to do that.

Signature

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org 

Tom Winter - 05 Jan 2006 14:33 GMT
If you are trying to manipulate an EXISTING PDF file, check Adobe's
documentation:
http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/iac/IACReference.pdf
OLE Automation Objects is the section you want, though it's NOT slanted
towards VB6/VBA. Search on the Internet for stuff related to some of the
object name or methods. If you need, I've got a VB6/VBA function that will
print an existing PDF file.

Signature

Tom Winter
tom@nospam.amosfivesix.com

> OK, so I found the type library for acrobat 6. It's just called
> 'Acrobat' in the Reference list and magically changes to 'acrobat 6
[quoted text clipped - 6 lines]
> Thanks,
> NL
 
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.