![]() |
Print selected sheets in Excel
I have to create a userform with several checkboxes to select particular
sheets for printing. Check one box will select one sheet. A "Print" button is created with the code: Private Sub CommandButton1_Click() ActiveWorkbook.SelectedSheets.PrintOut Copies:=1 Unload Me End Sub Please advice how to pass the checked sheets for printing. Thanks. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
All times are GMT +1. The time now is 03:03 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com