Only one tab at a time?

User Name:

Registered User.
Local time
Today, 03:26
Joined
Jun 29, 2013
Messages
17
Hi everyone,

I’m creating an Excel workbook with Hyperlinks to navigate around the workbook (i.e. on ‘Sheet1’ you can click a cell that will take you to ‘Sheet2’)

Well that is easy enough but the problem is I only want to see one tab (the current tab) at a time (I don’t want to just hide all tabs)

Is there a macro I can write?

Thanks

UN
 
Pseudo-code:
Code:
Dim Sh As Worksheet
For Each Sh in Worksheets
     Sh.Visible = (Sh.Name = ActiveSheet.Name)
Next Sh
 

Users who are viewing this thread

Back
Top Bottom