Function Update

S

Stevek

Hello All,
I have a little function that places the sheet name in a cell. But the
function will not update automaticly when the sheet name is changed or when
I press F9. Any help would be appreciated.
 
D

Don Guillett

Function ShtName()
Application.Volatile
ShtName = ActiveSheet.Name
End Function
 
G

Gord Dibben

Steve

Function ShtName()
Application.Volatile
ShtName = ActiveSheet.Name
End Function


Gord Dibben MS Excel MVP
 
Top