![]() |
Vba printout
Hi all,
I'm using xl2000 on a win2000 with adobe pdfwriter 5.0 to create from a .xls file a .pdf file. Sub Macro1() Application.activate = "Acrobat PDFWriter sur LPT1:" ActiveWindow.SelectedSheets.PrintOut Copies:=1, _ ActivePrinter:="Acrobat PDFWriter sur LPT1:", _ PrintToFile:= True, PrToFileName:="C:\test.pdf" End Sub What appens is that a file in c:\ is created but cant be viewed because an error as occurred , no error number, and on desktop file named test.pdf is created and viewable. Whats going on I dont understand. Help! Thanks! Curtis |
Vba printout
|
All times are GMT +1. The time now is 12:23 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com