Just out of curiosity:
Why is this statement always written at the function level? Isn't it an application-level property (like application.StatusBar for example)? Or is it truly bound only to the Function in which it is located?
To restate, I'd expect to see something like this:
Function foo()
Dim v as boolean
v = Application.volatileState
Application.volatile
MAIN BODY HERE
Application.volatile = v '.......... Reset volatility to its prior state
End Function
Why is this statement always written at the function level? Isn't it an application-level property (like application.StatusBar for example)? Or is it truly bound only to the Function in which it is located?
To restate, I'd expect to see something like this:
Function foo()
Dim v as boolean
v = Application.volatileState
Application.volatile
MAIN BODY HERE
Application.volatile = v '.......... Reset volatility to its prior state
End Function