View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob[_16_] Bob[_16_] is offline
external usenet poster
 
Posts: 22
Default Go To Button on a spreadsheet.

I have the following code that i cannot get to work. In escence i
just
want to click on the button and go to the worksheet named in the
combobox. If i take the combobox away and just type a name into a
cell
say A4 it works fine. Obviously i am not referencing the Combobox
properly.

Private Sub CommandButton1_Click()
Worksheets(Range("ComboBox1").Value).Activate


End Sub


With thanks


Bob