kpasa
Board Regular
- Joined
- Nov 20, 2015
- Messages
- 82
I am trying to pass a boolean from a sub into a userform. I want to activate a userform with a boolean named PrintVal set to true by this particular macro.
On userform_activate, If printval is true then i want to run a special bit of code. Else just launch the form like normal.
How can I pass the boolean to a userform from the sub that activated it.
On userform_activate, If printval is true then i want to run a special bit of code. Else just launch the form like normal.
How can I pass the boolean to a userform from the sub that activated it.