Hi all,
Is there a Macro to automatically print the selected print area (print area is also established within the macro itself) to a user's default printer; whatever that printer may be?
Note that this printer and/or printer name could change depending on the user.
I would like this to actually select and print to the default printer without Excel having to ask you. I don't even want the "OK" box to show up if possible. I just want them to run the macro, execute all it's duties, and print, all in 1 shot.
Can this be done? I'm using Excel 2003.
Thanks
Last edited by duugg; 02-17-2009 at 02:39 PM.
So what you want is a macro to run to just print and not show the dialouge box?
Just use
Code:ActiveSheet.PrintOut
Hope that helps.
RoyUK
--------
If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need
For Excel consulting, free examples and tutorials visit Excel Consulting-Excel VBA
Check out the free Excel Toolbar
New members please read & follow the Forum Rules
Remember to mark your questions Solved and rate the answer(s)
Code Tags: Make your code easier for us to read
It worked,
Thanks!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks