Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Aditi Msc   on Jan 24 In MS Office Category.

  
Question Answered By: Garritt Bakker   on Jan 24

I use the sheet  name in a worksheet cell by adapting a function I found in one
of the internet groups.

Public Function SheetName() As String

' returns sheetname without specifying range
' could use either parent or worksheet in second line

Application.Volatile True
SheetName = Application.Caller.Parent.Name

End Function

You then just use =SheetName() in the cell where you want the sheetname to
appear.

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Excel 2000 Picking up sheet name Or get search suggestion and latest updates.


Tagged: