Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Print dialog box selection macro

I have a macro that opens the print dialog box. I would like the "Print What
- selection" option to be selected by default instead of "Activesheets". Is
there any code that can do this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 284
Default Print dialog box selection macro

Try

Application.Dialogs(xlDialogPrint).Show arg12:=1


Steve



"I think I need to rephrase the question"
osoft.com wrote in
message ...
I have a macro that opens the print dialog box. I would like the "Print
What
- selection" option to be selected by default instead of "Activesheets".
Is
there any code that can do this?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Print dialog box selection macro

Thanks Steve. That works great

"Steve Yandl" wrote:

Try

Application.Dialogs(xlDialogPrint).Show arg12:=1


Steve



"I think I need to rephrase the question"
osoft.com wrote in
message ...
I have a macro that opens the print dialog box. I would like the "Print
What
- selection" option to be selected by default instead of "Activesheets".
Is
there any code that can do this?




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
"Print Selection" doesn't print beyond automatic page breaks Andre Excel Discussion (Misc queries) 3 October 30th 06 09:30 PM
Collate check box in the Print Dialog Box Pete Setting up and Configuration of Excel 0 April 25th 06 10:55 PM
How can I print frozen panes to appear above print selection in Ex Snr Franco Excel Discussion (Misc queries) 1 April 2nd 06 03:06 PM
print prevu button brings rights management dialog box - how do i troubled terry Setting up and Configuration of Excel 0 January 3rd 06 11:45 PM
How do I reduce the highth of the print dialog box in Excel? Michele Excel Discussion (Misc queries) 1 March 3rd 05 04:18 AM


All times are GMT +1. The time now is 07:27 PM.

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

About Us

"It's about Microsoft Excel"