SetSharedVariable(Variable As String, Value As String)

Application object

Sets a shared variable to a specific value. Shared variables retain their value across event boundaries. This is useful if you need to communicate between two or more event handlers.

Related topics

SetSharedObject

The Application object