Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Need help for Printing Macro.

Hi,
How do I write the code for printing for 3 copies and then exit the
excel program without prompt for saving?

Any help would be very appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default Need help for Printing Macro.


ActiveSheet.PrintOut copies:=3
activeworkbook.close SaveChanges:=False

if you want to quit excel then use

Application.Quit


--
HTH

Bob Phillips

"sighsky" wrote in message
...
Hi,
How do I write the code for printing for 3 copies and then exit the
excel program without prompt for saving?

Any help would be very appreciated.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing Macro how do I pano Excel Worksheet Functions 1 January 23rd 07 11:41 AM
Macro for printing Ewout Excel Worksheet Functions 1 September 23rd 06 11:33 PM
printing macro johnw Excel Discussion (Misc queries) 0 October 7th 05 02:31 PM
Printing Macro kwedde01 Excel Worksheet Functions 0 June 9th 05 11:05 PM
Printing Macro Gary T Excel Programming 3 January 13th 05 01:45 PM


All times are GMT +1. The time now is 02:34 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"