View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
ryguy7272 ryguy7272 is offline
external usenet poster
 
Posts: 2,836
Default find a sheet by a cell

Maybe this:

Private Sub Workbook_Open()
Sheets("Sheet1").Activate
End Sub

It needs to go in 'ThisWorkbook', object.

Also, take a look at this:
http://exceltip.com/st/Cell_Function..._Path/180.html

Remember, you have to save your WB before the change becomes effective.

Regards,
Ryan---


--
RyGuy


"John" wrote:

In a workbook I want to find the workssheet that has a a particular name
in cell C1, make it the active sheet and get the name(tab) of the sheet
into a variable.

Help
JOhn