A
Ant
Probably a bit of an easy one...I have a selection of hidden worksheets which
appear in a drop down box and linked to a cell with a vlookup. I than have a
macro button which, once clicked, opens a worksheet. I want to add some code
that opens up the result of the vlookup determined by the dropdown box. For
example, if I select Sheet5 from the drop down box which in turn becomes the
sheet name in the vlookup cell, when I click the Macro button, Sheet5 opens.
Currently I have Sheets("Sheet1").Select in the macro which obviously will
only open Sheet1. I have done this before but I can't remember the code.
appear in a drop down box and linked to a cell with a vlookup. I than have a
macro button which, once clicked, opens a worksheet. I want to add some code
that opens up the result of the vlookup determined by the dropdown box. For
example, if I select Sheet5 from the drop down box which in turn becomes the
sheet name in the vlookup cell, when I click the Macro button, Sheet5 opens.
Currently I have Sheets("Sheet1").Select in the macro which obviously will
only open Sheet1. I have done this before but I can't remember the code.