98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Print Sheets Button
Print Sheets Button
Resolved · Medium Priority · Version 2007
Mark has attended:
Excel VBA Advanced course
Print Sheets Button
Hello,
I have entered the following code to a print button, but it does not run. Any ideas why not?
Sub Button2_Click()
'Print All Sheets
ActiveWorkbook.Worksheets.PrintOut Copies:=1
End Sub
Regards
Mark
Training information:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Shortcut for accessing recently opened filesTo get into recently opened Excel files without using your mouse, hold down Alt + F to open the File menu. |