Hello people,
Is it possible to use global variables in my macro’s? I have written a few macro’s in the standard module, and now I would like to re-use some variables.
Instead of this:
Sub Foo
welcome = "hello"
Print welcome
End Sub
Sub Bar
welcome = "hello"
Print welcome
End Sub
I would like to be able to do something like this:
welcome = "hello"
Sub Foo
Print welcome
End Sub
Sub Bar
Print welcome
End Sub
Can it be done?