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 two or more event handlers to communicate.

GetSharedVariable

The Application object