John McGraw
Board Regular
- Joined
- Feb 25, 2002
- Messages
- 76
How can I set the default value for textbox controls with VBA?
I have tried accessing the .Default property, but VBA gives an error "could not set the default property. Member not found".
In case I am not being totally clear... This is what I mean by default: If you go into the forms editor in VBA and manualy enter the value for a textbox in the properties field... That will be the default when the form is run. I want to be able to do this with VBA.
Thanks for any help!!
I have tried accessing the .Default property, but VBA gives an error "could not set the default property. Member not found".
In case I am not being totally clear... This is what I mean by default: If you go into the forms editor in VBA and manualy enter the value for a textbox in the properties field... That will be the default when the form is run. I want to be able to do this with VBA.
Thanks for any help!!