Thread: Sheet Function
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.newusers
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default Sheet Function

Try this:

=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)

Note: the file must already exist. In other words, the workbook must have
been saved and given a file name.

Biff

"Ruan" wrote in message
...
Hello,

Is there a function that will give you the sheet name in a cell? (Example:
A1)

I would like to write an IF statement that will refer to Sheet Names.

Thanks
Ruan