Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Macro to Save, Print, and Close file

Status
Not open for further replies.

boottmills

Mechanical
Feb 23, 2006
90
0
0
US
I'm looking to see (before I jump on in) if there is a way to have a macro in EXCEL save a file, print the file, and then close the file. Is this something that can be done through a macro?

TIA!

~Boottmills
 
Replies continue below

Recommended for you

Save
Link

Print
Link

Close
Link

String those together, try one at a time to get the hang of it and make sure you are getting the desired effect. By default the printout method simply uses the currently selected printer, so depending on what printer you used last it will just print to that (i.e. physical printer or maybe PDF etc) unless you use the ActivePrinter variant. You can always use a userform to select between different printers if desired.
 
Status
Not open for further replies.
Back
Top