I have a cell that derives its value from a formula, ideally I would like a worksheet that has the same name as the result to open, I would also like to do it without VBA but I doubt if that is possible. The solution I am working on at the moment involces a Combobox and the following code which is not working
Code: Select all
Private Sub ComboBox4_Change()
If ComboBox4.Value = "14-Litre" Then
Sheets("14-Litre").Select
End If
If ComboBox4.Value = "19-Litre" Then
Sheets("19-Litre").Select
End If
If ComboBox4.Value = "47-Litre" Then
Sheets("47-Litre").Select
End If
End Sub
Any ideas please