I execute the following code from a script to change the value of the variable. Project.Variable.MyTestVar = "New Variable Value" This works fine but when i go to close my project I get ...
Sorry for misleading answer: I replayd your situation (using userform for variables values setting) and found that popup always appear asking about saving the project.