Passing variables between Sub and Userform
since the sub seems to be the caller of the form, the proper way may be
to make a special sub : this one will receive the boolean value and
decide the values of the form, and then shows the form.
An other way could be to mask (visible false) a check box but this box
could keep a boolean value from an other code.
|