looking for a formula that will get me the sheet name...
example:
I have 3 sheets each named X, Y, Z
in cells A1 I want the name of sheet 3, which would be X
thanks for the help!
looking for a formula that will get me the sheet name...
example:
I have 3 sheets each named X, Y, Z
in cells A1 I want the name of sheet 3, which would be X
thanks for the help!
Last edited by zerosleep; 12-03-2008 at 11:53 AM.
Good evening zerosleep
There are ways and means of extracting the sheetname, but only (I think) the activesheet. There is also a drawback that the file must be saved.
Why not use a custome function :
In this instance using the formula :![]()
Function SheetName(WhichSheet As Integer) Application.Volatile SheetName = Sheets(WhichSheet).Name End Function
=SheetName(3)
would return X.
HTH
DominicB
Please familiarise yourself with the rules before posting. You can find them here.
Thanks DominicB, works great!! much appreciated!![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks