ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Printing (https://www.excelbanter.com/excel-programming/327409-printing.html)

Greg[_20_]

Printing
 
I was wanting to have a userform appear asking how many print out was needed
when they put the number in the textbox it prints that amount.

How would I do this?

Thanks

Greg



Jim Rech

Printing
 
Something like:

Sub a()
Dim Num As Integer
On Error GoTo NotNumber
Num = InputBox("Copies to Print?")
ActiveSheet.PrintOut Copies:=Num
NotNumber:
End Sub


--
Jim
"Greg" wrote in message
...
|I was wanting to have a userform appear asking how many print out was
needed
| when they put the number in the textbox it prints that amount.
|
| How would I do this?
|
| Thanks
|
| Greg
|
|




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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com