View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Nick H[_4_] Nick H[_4_] is offline
external usenet poster
 
Posts: 1
Default Extracting Sheet Name

I'd like to create a worksheet function that will take as input a cell
reference or range, and will return the name of the worksheet that the input
cell/range is on. For example, I would like to be able to enter a function
with this general name/form:

=Sheetname('Sheet1'!A1)

and get the following text:

Sheet1

Thanks for any help!

Nick