ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Desplay active and Hide sheets (https://www.excelbanter.com/excel-programming/428473-desplay-active-hide-sheets.html)

NIDAL

Desplay active and Hide sheets
 
Thanks for help
Suppose I have Workbook contain 10 sheets and one of them is summary.
What I need exactly to Create 3 buttons In Summary and each button display
3sheets as group and activate one of them I chose it ,and finally Hide othe 6
remaining sheets, all of this by one click a button.
by the same way,the oter button will display next 3 sheets, activate
specified one, and Hide other, and so on.

many thanks

HelpExcel.com[_2_]

Desplay active and Hide sheets
 
Nidal,

You can use a command similar to the following to group the sheets:

Sheets(Array("Sheet1", "Sheet2", "Sheet3")).Select


--
Regards,
Eddie
http://www.HelpExcel.com


"NIDAL" wrote:

Thanks for help
Suppose I have Workbook contain 10 sheets and one of them is summary.
What I need exactly to Create 3 buttons In Summary and each button display
3sheets as group and activate one of them I chose it ,and finally Hide othe 6
remaining sheets, all of this by one click a button.
by the same way,the oter button will display next 3 sheets, activate
specified one, and Hide other, and so on.

many thanks



All times are GMT +1. The time now is 04:46 PM.

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