<al********@it4us.nl> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
Hi,
I'd like to set form properties in VBA.
You can set e.g.
Forms("frmDemo").BorderStyle = 3
but how can you set
Forms("frmDemo").BorderStyle = "Dialog"
Er, they're the same thing aren't they?
If so, does anyone know of a useful reference list of the properties
with all possible values?
It's under BorderStyle in the help.
Or if you look at the object browser in the VBA IDE, then find the constant
you want and F1 you'll get the possible values.
Cheers, Mike