>I didn't want to use the return for some reason and too lazy to reference a local variable before I call the function; but thanks anyway!!!
Probably it would be easier to pass a reference to the form as a parameter. Then, in the called form / function, you can change any property.
Button on the calling form:
do MyFunction with ThisForm
In MyFunction:
lparameters toForm
toForm.AnyProperty = AnyValue
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)