Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm trying to write VBA code to automatically print a page in an excel
worksheet in PDF format and control it's name as well. I'm hoping the answer lies in the Excel Print macro - ExecuteExcel4Macro "PRINT(1,,,1,,,,,,,,2,""Adobe PDF on Ne09:"",,TRUE,,FALSE)" I'm guessing that between one set of those commas is a place for a file name etc. Frankly I'd like to know what all the options are - what each space designates. Also, what would the syntax be for placing a string inside that? Finally, I've notices that the "Ne09" designation for the printer changes sometimes. How would I trap for that so that I could always be sure the correct "Ne#" could be referenced. Thank you so much! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Print command options | Excel Discussion (Misc queries) | |||
How can I copy print options from one tab to another tab? | Excel Discussion (Misc queries) | |||
Copying Print Options | Excel Discussion (Misc queries) | |||
How to set DEFAULT print options in Excel to print gridlines? | Excel Discussion (Misc queries) | |||
print options | Excel Discussion (Misc queries) |