lezawang
Well-known Member
- Joined
- Mar 27, 2016
- Messages
- 1,805
- Office Version
- 2016
- Platform
- Windows
Hi
I created a form to enter first and last name (please see the pic in the link below). I have 2 questions:
1- I click on the first text box and enter the first name then pressing Enter will move the cursor to next box then I enter the last name. Then I press Enter then the cursor will go to Enter button and stays there even after pressing Enter key. My question, can I move the cursor to the first box automatically after pressing Enter button?
2- I have search button, how you would write the code to search for the first and last name that user entered in these 2 text boxes in the excel sheet. If the name is found then highlight the row or both first and last name in the sheet
Thank you so much
https://drive.google.com/file/d/1SqNzbYhsPa6XTPqTJacQNhJxup18wvph/view?usp=sharing
I created a form to enter first and last name (please see the pic in the link below). I have 2 questions:
1- I click on the first text box and enter the first name then pressing Enter will move the cursor to next box then I enter the last name. Then I press Enter then the cursor will go to Enter button and stays there even after pressing Enter key. My question, can I move the cursor to the first box automatically after pressing Enter button?
2- I have search button, how you would write the code to search for the first and last name that user entered in these 2 text boxes in the excel sheet. If the name is found then highlight the row or both first and last name in the sheet
Thank you so much
https://drive.google.com/file/d/1SqNzbYhsPa6XTPqTJacQNhJxup18wvph/view?usp=sharing