Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Printing Help
I have to print 3 different sheet How can I get a inputbox to ask a user how
many copies they would like to print? the sheets are called resultsmain mainladder thirdsheet Thanks in advance Greg |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Printing Help
Maybe something like:
Option Explicit Sub testme() Dim HowMany As Long HowMany = CLng(Application.InputBox(Prompt:="How many?", Type:=1)) If HowMany < 1 Then Exit Sub End If Worksheets(Array("resultsmain", "mainladder", "thirdsheet")).PrintOut _ copies:=HowMany End Sub Greg B wrote: I have to print 3 different sheet How can I get a inputbox to ask a user how many copies they would like to print? the sheets are called resultsmain mainladder thirdsheet Thanks in advance Greg -- Dave Peterson |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Printing Help
Thanks for that Dave
Greg "Dave Peterson" wrote in message ... Maybe something like: Option Explicit Sub testme() Dim HowMany As Long HowMany = CLng(Application.InputBox(Prompt:="How many?", Type:=1)) If HowMany < 1 Then Exit Sub End If Worksheets(Array("resultsmain", "mainladder", "thirdsheet")).PrintOut _ copies:=HowMany End Sub Greg B wrote: I have to print 3 different sheet How can I get a inputbox to ask a user how many copies they would like to print? the sheets are called resultsmain mainladder thirdsheet Thanks in advance Greg -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel 2003 printing problem--printing 1 document on 2 pages | Excel Discussion (Misc queries) | |||
Excel Printing --Borders are not printing on the same page as data | Excel Discussion (Misc queries) | |||
Printing a heading on each new page when printing | Excel Discussion (Misc queries) | |||
Enable Double sided printing contiuously when printing multiple s. | Excel Discussion (Misc queries) | |||
Printing? Worksheets not printing the same on multiple pc's! | Excel Programming |