Printing

  • Thread starter Thread starter Greg B
  • Start date Start date
G

Greg B

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
 
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.
 
Application.Dialogs(xlDialogPrint).Show

And if you had a userform, you could use:

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

Works Great

Greg
Dave Peterson said:
Application.Dialogs(xlDialogPrint).Show

And if you had a userform, you could use:

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top