Hi,
I have produced a userform with multiple textboxes.
How should I provide with general code to textboxes.backcolor only for empty texboxes?
Regards,
M
Hi,
I have produced a userform with multiple textboxes.
How should I provide with general code to textboxes.backcolor only for empty texboxes?
Regards,
M
You may try something like this....
Place the following code on Form Module.
And then Call it from the desired command button like this.....Please Login or Register to view this content.
Please Login or Register to view this content.
Regards
sktneer
Treat people the way you want to be treated. Talk to people the way you want to be talked to.
Respect is earned NOT given.
Almost works, the only problem is:
Compile error: Invalid use of me keyword
Any alternative?
How does it almost work if you get a compile error?
Did you place the code on Form Module?
Yes, it is pasted to module form.
I tried to call this code couple of times and twice it worked, this is what I meant saying ALMOST WORKS
When I close userform, then error occurs...
If the code worked twice that means there is nothing wrong in the code. The problem is somewhere else. I don't know how this code is connected with form close event. Maybe you know better.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks