Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Acrobat and VBA

Status
Not open for further replies.

dizzy880

Programmer
Joined
Aug 9, 2001
Messages
7
Location
AU
Hi All

Can anyone please help, I need to print to a file using Pdf Writer automatically through Vba. I have inserted a linked word doc into a BO Report and save as pdf. When I open the pdf,in Acrobat Reader the linked document is there but no text. I have been informed that the word document is an OLE2 object which isn't supported by Adobe Reader. I have also been informed that Acrobat Writer will solve this and I can do this manually and it works fine, but I need to do this in a Vba Macro, At the moment the code I have save as pdf

docname = "E:\PDFfiles\" + ListArrayChoice(coderow) + ".pdf"
busobj.ActiveDocument.ExportAsPDF (docname)

How do I this? I want to use the acorbat PDFWriter printer which prints to a pdf file

Thanks in advance
Dizzy880

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top