alex_18ca
2006-08-31 11:10:58 UTC
Workbooks.Open Filename:="L:\RATES\External.xls"
Sheets("Cash").Select
Application.ActivePrinter = "Acrobat PDFWriter on LPT1:"
ChDir "L:\rates\"
ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:="Acrobat PDFWriter on LPT1:", prtofilename:="L:\rates\cash"
Kill "L:\rates\cash"
So it should be saving the pdf file as cash.pdf in the L:\Rates folder, but instead it always defaults to My Documents. Any help would be greatly appreciated!
Thanks.