I have a Excel 2013 workbook that I have created. I have a number of worksheets which I want to hide so that when a user opens the Workbook only the "Table of Content" shows. On this worksheet I have a set of buttons that should take the user to the right worksheet. If I do not hide the worksheet I can use the .select command and the user is taken to the correct worksheet.
If, however, I hide the worksheet I get a message Run-time error '1004' Select method of Worksheet class failed My question is how to I select and and make visible the worksheets. Then how to I hide the worksheet again when the use clicks on the TOC button to go back to the "Table of Contents" worksheet?
Thanks in advance for any help that you can offer.
Code:
Private Sub BTN_CERT_Click()
' Go to CERT Claims Dashboard sheet
Sheets("CERT Claims Dashboard").Select
End Sub
If, however, I hide the worksheet I get a message Run-time error '1004' Select method of Worksheet class failed My question is how to I select and and make visible the worksheets. Then how to I hide the worksheet again when the use clicks on the TOC button to go back to the "Table of Contents" worksheet?
Thanks in advance for any help that you can offer.