S
Shah Shailesh
Hi Ibo,
You can use UDF to get sheet name no matter workbook was
saved or not.
Put this code to any standard Module.
Function GetShtName()
With Application
.Volatile (True)
GetShtName = .Caller.Parent.Name
End With
End Function
In any cell (e.g. A1) type below formula to get sheet name.
=GetShtName()
Regards,
Shah Shailesh
http://members.lycos.co.uk/shahweb/
You can use UDF to get sheet name no matter workbook was
saved or not.
Put this code to any standard Module.
Function GetShtName()
With Application
.Volatile (True)
GetShtName = .Caller.Parent.Name
End With
End Function
In any cell (e.g. A1) type below formula to get sheet name.
=GetShtName()
Regards,
Shah Shailesh
http://members.lycos.co.uk/shahweb/