Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default Macro to view 'Print' dialog box

Hi -

I need to use a macro to bring up the same dialog box that appears when
you select 'Print...' from the File menu.

I tried to record a macro to see the code, but it only gives code for
'Ok, go ahead and print with these options' rather than just displaying
the dialog box, and awaiting user input.

Any ideas?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Macro to view 'Print' dialog box

Hi Jakey,

Try:

Application.Dialogs(xlDialogPrint).Show

---
Regards,
Norman



"JakeyC" wrote in message
oups.com...
Hi -

I need to use a macro to bring up the same dialog box that appears when
you select 'Print...' from the File menu.

I tried to record a macro to see the code, but it only gives code for
'Ok, go ahead and print with these options' rather than just displaying
the dialog box, and awaiting user input.

Any ideas?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default Macro to view 'Print' dialog box

Job's a good 'un.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default Macro to view 'Print' dialog box

Job's a good 'un.

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 dialog box selection macro I think I need to rephrase the question Excel Discussion (Misc queries) 2 November 4th 07 11:31 PM
Custom Macro View/Print Toolbar for Calendar KC guru Excel Discussion (Misc queries) 0 February 21st 07 03:30 PM
column is hidden in normal view but not print view Bianca Excel Worksheet Functions 2 June 23rd 06 08:38 AM
How do i get the print dialog box to appear in a macro? Help!!! smithers2002 Excel Programming 2 September 5th 05 01:07 PM
Hiding print dialog box within macro Annie[_2_] Excel Programming 0 August 24th 03 02:26 PM


All times are GMT +1. The time now is 01:01 AM.

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"