Changing the ActiveSheet
OK, this works:
sMonth = ActiveCell.Value
Worksheets(sMonth).Activate
Another question, how do I used wildcards in Excel?
For example, if the active cell was "Mar" but the worksheet was Mar
'07, how could I get it to still open the right worksheet?
I tried adding a * after the Worksheets(sMonth) but that didn't work,
any ideas?
|