Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Function Update
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. ------------------------------------ Function ShtName() ShtName = ActiveSheet.Name End Function ------------------------------------ TIA Steve |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Function Update
Function ShtName()
Application.Volatile ShtName = ActiveSheet.Name End Function -- Don Guillett SalesAid Software "Stevek" wrote in message ... 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. ------------------------------------ Function ShtName() ShtName = ActiveSheet.Name End Function ------------------------------------ TIA Steve |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Function Update
Steve
Function ShtName() Application.Volatile ShtName = ActiveSheet.Name End Function Gord Dibben MS Excel MVP On Thu, 14 Dec 2006 10:21:00 -0600, "Stevek" wrote: 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. ------------------------------------ Function ShtName() ShtName = ActiveSheet.Name End Function ------------------------------------ TIA Steve |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Function Update
Thanks So Much
"Gord Dibben" <gorddibbATshawDOTca wrote in message ... Steve Function ShtName() Application.Volatile ShtName = ActiveSheet.Name End Function Gord Dibben MS Excel MVP On Thu, 14 Dec 2006 10:21:00 -0600, "Stevek" wrote: 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. ------------------------------------ Function ShtName() ShtName = ActiveSheet.Name End Function ------------------------------------ TIA Steve |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
macro | Excel Discussion (Misc queries) | |||
Need some comments on my Utility_Move class module. | Excel Worksheet Functions | |||
Custom functions calculating time arguments Help Desperate | Excel Worksheet Functions | |||
What can cause update function to point to website? | Excel Discussion (Misc queries) | |||
clock | Excel Worksheet Functions |