C
caveman.savant
I have a Excel file that contains several worksheets. Can I create a
"homepage" sheet with links to the other sheets?
"homepage" sheet with links to the other sheets?
I do this with a "menu" sheet and the other sheet names typed in. Then right
click on the cell with the name.
Right click sheet tab>view code>insert this
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
Boolean)
Application.DisplayAlerts = False
Dim WantedSheet As String
WantedSheet = Trim(ActiveCell.Value)
If WantedSheet = "" Then Exit Sub
On Error Resume Next
If Sheets(WantedSheet) Is Nothing Then
' GetWorkbook ' calls another macro to do that
Else
Application.GoTo Sheets(WantedSheet).Range("a1")
End If
Application.DisplayAlerts = True
End Sub