View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Call a sheet name by reference to a Cell need help

Dim sName as String
sName = Activesheet.Range("A1").Text

application.Goto Workbooks("Book2.xls") _
.Worksheets(sName).Range("B9"), True

--
Regards,
Tom Ogilvy

"tpetyt" wrote in message
...

Hello Everyone,

I am looking for a solution to activate a worksheet by picking
worksheet name in a cell (ie : Cell A1 = 009, it is the worksheet name
from another file I need to activate)

Is anybody can help me on this

Thank you

TP
:)


--
tpetyt
------------------------------------------------------------------------
tpetyt's Profile:

http://www.excelforum.com/member.php...o&userid=16725
View this thread: http://www.excelforum.com/showthread...hreadid=319321