S
snsyg
i have a user form set up with three text boxes. if the user has opene
the dialog box and entered the data once, then re-opens the dialog bo
again to make any updates, i want the previosly entered data to appea
as the default (the first time the user opens it i want all the tex
boxes blank).
there is a property called "text" for the user form and i can ente
text there manually that shows up as the default. the problem is tha
the text is a variable from project to project and there is n
consistant initial default i can use.
in the vba code for the ok button in the dialog box (the last piece o
code before the code for unloading the dialog box, i wrote:
ProjectName.Text = "Acme Hardware". the code executes without error
but does not display "Acme Hardware" as the default in the text box th
next time i open the dialog box.
in the vba code for the button the shows the dialog box, i tried
ProjectName.Text = "Ace Hardware", but i get an error.
any ideas or help would be greatly appreciated!
thanks
kare
the dialog box and entered the data once, then re-opens the dialog bo
again to make any updates, i want the previosly entered data to appea
as the default (the first time the user opens it i want all the tex
boxes blank).
there is a property called "text" for the user form and i can ente
text there manually that shows up as the default. the problem is tha
the text is a variable from project to project and there is n
consistant initial default i can use.
in the vba code for the ok button in the dialog box (the last piece o
code before the code for unloading the dialog box, i wrote:
ProjectName.Text = "Acme Hardware". the code executes without error
but does not display "Acme Hardware" as the default in the text box th
next time i open the dialog box.
in the vba code for the button the shows the dialog box, i tried
ProjectName.Text = "Ace Hardware", but i get an error.
any ideas or help would be greatly appreciated!
thanks
kare