mclambchop
New Member
- Joined
- Apr 29, 2014
- Messages
- 24
- Office Version
- 365
- Platform
- Windows
Hello,
I want to select up to 12 sheets based on the value of a cell range. I have buttons that if selected will add a TRUE or if not selected a FALSE to range V12 t V32.
I then want to select the sheet names if the cell has a TRUE. I know what the code should look like but I cant figure out how to write the if part into it.
Sheets(Array("1", "2", "3", "4", "5", "6", "7", "8", "10", "11", "12")).Select
Could anyone help?
I want to select up to 12 sheets based on the value of a cell range. I have buttons that if selected will add a TRUE or if not selected a FALSE to range V12 t V32.
I then want to select the sheet names if the cell has a TRUE. I know what the code should look like but I cant figure out how to write the if part into it.
Sheets(Array("1", "2", "3", "4", "5", "6", "7", "8", "10", "11", "12")).Select
Could anyone help?