Get sheet name given a cell

  • Thread starter Thread starter Otto Moehrbach
  • Start date Start date
O

Otto Moehrbach

Excel 2003, WinXP
I need some help to help an OP.
Programmatically:
I setup an array of sheet names.
I group all the sheets in the array.
I activate one sheet and select one column.
I use Find to find a cell entry.
It is found and I set it to FoundCell.
Question:
How do I get the sheet name where FoundCell resides?
Thanks for your help. Otto
 
Try with

MsgBox FoundCell.Worksheet.Name

or

MsgBox FoundCell.Parent.Name
 
Otto,

How about

Foundcell.Parent.Name

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
Otto,

Not sure. Not tested : FoundCell.Parent.Name

--
Regards,
Auk Ales

* Please reply to this newsgroup only *
* I will not react on unsolicited e-mails *
 
Juan, Bob, A.W.
Thanks for your help. That makes it easy. Otto
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top