Oops,
I just read what I wrote! This line:
test.caption = "HELLO"
should read:
MyForm.caption = "HELLO"
The object reference is 'MyForm', NOT 'test'...
Sorry for the confusion!
Mark
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.