Hi
I'm using combobox's in all my sheets to navigate through my spreadsheet.
I'm using this macro assigned to each combobox:
So when I select a sheet name in the combobox it switches to that sheet. When I switch to the sheet in question the combobx automatically displays the first sheet in the named rnage that populates the combobox.
So if I switch to "Sheet4", "Sheet1" is displayed in the combobox. Is there a way that the combobox could display the current sheet name as it selection?
Thanks
I'm using combobox's in all my sheets to navigate through my spreadsheet.
I'm using this macro assigned to each combobox:
Sub GotoComboBoxSelectedSheet()
With ActiveSheet.Shapes(Application.Caller).ControlFormat
On Error Resume Next
ThisWorkbook.Sheets(.List(.Value)).Activate
On Error GoTo 0
End With
End Sub
So when I select a sheet name in the combobox it switches to that sheet. When I switch to the sheet in question the combobx automatically displays the first sheet in the named rnage that populates the combobox.
So if I switch to "Sheet4", "Sheet1" is displayed in the combobox. Is there a way that the combobox could display the current sheet name as it selection?
Thanks