I have an excel sheet, with a macro which then prints it. I want this to print to a PDF. Im using adobe acrobat 6 professional. Now I have added to this excel sheet the following command in a macro:
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
This then uses the default printer which is adobe.
However it asks where I want to save, and what I want to call it.
I just need it to be put int the same location, and give it the name of the excel sheet, and over write the old PDF as this runs every day
The reason im using this in this way is I then email the pdf for people to view and print out.
I know I could just send the excel sheet, but if someone wants to print this out, it doesnt remember the print layout.
Any suggestions or help would be welcomed
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
This then uses the default printer which is adobe.
However it asks where I want to save, and what I want to call it.
I just need it to be put int the same location, and give it the name of the excel sheet, and over write the old PDF as this runs every day
The reason im using this in this way is I then email the pdf for people to view and print out.
I know I could just send the excel sheet, but if someone wants to print this out, it doesnt remember the print layout.
Any suggestions or help would be welcomed