Hello everybody,
new day, new problem. ;-)
i am using forms and a lot of checkboxes in my vba-word-script. so i wonder myself, if there is a possibility to do things easier.
my code:
Sub main()
Call Transfer1(CheckBox1)
Call Transfer1(CheckBox2)
...
End Sub
Sub Transfer1(myBox As CheckBox)
myBox.Value = -1
...
End Sub
But with my code an Error occurs. valid Call-by-reference! How can I solve this??
Thanks in Advance,
cu, stony
new day, new problem. ;-)
i am using forms and a lot of checkboxes in my vba-word-script. so i wonder myself, if there is a possibility to do things easier.
my code:
Sub main()
Call Transfer1(CheckBox1)
Call Transfer1(CheckBox2)
...
End Sub
Sub Transfer1(myBox As CheckBox)
myBox.Value = -1
...
End Sub
But with my code an Error occurs. valid Call-by-reference! How can I solve this??
Thanks in Advance,
cu, stony