Text Box Question

T

TotallyConfused

I have a text box that was revised. Meaning it had a name of FormDate.
However, in changing and moving controls around text box was deleted. I
entered another text box and I am trying to give it the name of FormDate but
the form will not take it. I get the following error message, "Could Not Set
the Name Property. Ambiguous Name". Can you explain what this means and how
I can set this text box to read txtFormDate. I have in the code this text
box to have "Date" (current date) when you open the form. Thank you in
advance for any help you can provide.
 
R

Rick Rothstein

Assuming we are talking about a TextBox on a UserForm, maybe it didn't
really get "deleted" but, instead, simply got moved so that it is not in
view any more. Try this to see if you can "bring it back". Click the drop
down at the top of the Properties window and see if a TextBox named FormDate
is shown in the listing (I suspect it will). If so, select it in the list,
then change both the Top and Left properties to 0... the TextBox should now
be visible in the top, left corner of the UserForm.
 
T

TotallyConfused

Thank you very much.

Rick Rothstein said:
Assuming we are talking about a TextBox on a UserForm, maybe it didn't
really get "deleted" but, instead, simply got moved so that it is not in
view any more. Try this to see if you can "bring it back". Click the drop
down at the top of the Properties window and see if a TextBox named FormDate
is shown in the listing (I suspect it will). If so, select it in the list,
then change both the Top and Left properties to 0... the TextBox should now
be visible in the top, left corner of the UserForm.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top