kelly mort
Well-known Member
- Joined
- Apr 10, 2017
- Messages
- 2,169
- Office Version
- 2016
- Platform
- Windows
I am looking for a way to capture a textbox data with two variables then compare to see if they match or not.
That's, when I enter the textbox, I want to capture it's value.
Then when I Exit that textbox, I want to capture that value as well.
It may happen that I just enter and leave or I change its data.
And in each case I want the two variables set.
I was thinking of the "Enter" and "After Update" events . But I have no idea how to compare those two variables from the two separate subs.
I am talking about userform textbox here.
So a command button when clicked will display the alert:
"Match" or "Not Match"
Thanks in advance
That's, when I enter the textbox, I want to capture it's value.
Then when I Exit that textbox, I want to capture that value as well.
It may happen that I just enter and leave or I change its data.
And in each case I want the two variables set.
I was thinking of the "Enter" and "After Update" events . But I have no idea how to compare those two variables from the two separate subs.
I am talking about userform textbox here.
So a command button when clicked will display the alert:
"Match" or "Not Match"
Thanks in advance