#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default Printing

I am not sure of what it is but I need the screen where you choose your
printer and print out amounts.

How do I get this to show in a macro?

Thanks in advance

Greg


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 863
Default Printing

To to VBA Help and in the Answer Wizard, type in Dialogs Collection Object. In
the resulting Help page there's a link at the bottom reading something like
'built-in dialogs argument lists' that includes all of the dialog names.

On Thu, 21 Apr 2005 04:43:50 +0930, "Greg B" wrote:

I am not sure of what it is but I need the screen where you choose your
printer and print out amounts.

How do I get this to show in a macro?

Thanks in advance

Greg


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Printing

Application.Dialogs(xlDialogPrint).Show

And if you had a userform, you could use:

worksheets("sheet1").printout copies:=clng(textbox1.value)



Greg B wrote:

I am not sure of what it is but I need the screen where you choose your
printer and print out amounts.

How do I get this to show in a macro?

Thanks in advance

Greg


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default Printing

Thank you Dave

Works Great

Greg
"Dave Peterson" wrote in message
...
Application.Dialogs(xlDialogPrint).Show

And if you had a userform, you could use:

worksheets("sheet1").printout copies:=clng(textbox1.value)



Greg B wrote:

I am not sure of what it is but I need the screen where you choose your
printer and print out amounts.

How do I get this to show in a macro?

Thanks in advance

Greg


--

Dave Peterson



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
Excel 2003 printing problem--printing 1 document on 2 pages Bons Excel Discussion (Misc queries) 0 December 24th 09 04:15 PM
Excel Printing --Borders are not printing on the same page as data Stup88 Excel Discussion (Misc queries) 1 August 7th 07 09:34 AM
Printing a heading on each new page when printing Brian Excel Discussion (Misc queries) 3 November 15th 06 05:22 PM
Enable Double sided printing contiuously when printing multiple s. Lee Excel Discussion (Misc queries) 1 November 27th 04 01:58 AM
Printing? Worksheets not printing the same on multiple pc's! 43fan Excel Programming 2 April 29th 04 02:34 PM


All times are GMT +1. The time now is 02:24 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"