S
scott
In a general module, I have the below code that "Dims" a public variable,
then I sent that variable's value. I'd like to be able to reference that
variable from any of my vba code within Access.
I'm getting an "Invalid outside procedure" error because of this. How can I
set a Public variable and use it throughout my access vba code?
GENERAL MODULE **********
Public myPublicVar As String
myPublicVar = "testing"
then I sent that variable's value. I'd like to be able to reference that
variable from any of my vba code within Access.
I'm getting an "Invalid outside procedure" error because of this. How can I
set a Public variable and use it throughout my access vba code?
GENERAL MODULE **********
Public myPublicVar As String
myPublicVar = "testing"