postelrich
New Member
- Joined
- Feb 24, 2011
- Messages
- 31
I have made a form on a spreadsheet that is fit to only one page. But when it goes to print, it prints 50 pages of stuff that isn't needed. Since this is going to be used by other people is there a way to either:
1. No matter what, everytime they try print, it will only print the first page of sheet 1?
2. Disable printing all together and force them to use a button that will print the first page only.
I've tried playing around with
this but haven't had any luck getting it to work. I even tried an If print activesheet = sheet1 cancel print, but that didn't work either. Any help would be greatly appreciated!
1. No matter what, everytime they try print, it will only print the first page of sheet 1?
2. Disable printing all together and force them to use a button that will print the first page only.
I've tried playing around with
Code:
Private Sub Workbook_BeforePrint(Cancel As Boolean)
Sheets("Sheet1").PrintOut From:=1, To:=1
End Sub