Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pause a Macro

Status
Not open for further replies.

Dickx

Technical User
Aug 24, 2001
33
US
How do you pause an Excel macro at the print menu to allow for user input of number of copies.
 
something like this:
Code:
myNum = InputBox("How many copies would you like?", "Number Confirmation")
ActiveWindow.SelectedSheets.PrintOut Copies:=myNum

[tt]_____
[blue]-John[/blue][/tt]

Help us help you. Please read FAQ181-2886 before posting.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top