Wilconcl51
New Member
- Joined
- Oct 10, 2023
- Messages
- 26
- Office Version
- 2016
- Platform
- Windows
My worksheet has named range "Villa". Villa numbers can appear more that once depending on number of residents in each villa with max. of 2.
Trying to create a macro that will
1. Prompt User to input Villa No.
2. If Villa No not found then back to 1. ( That's because Villas are currently numbered 1-270; 401-428; 801-858)
3. Locate the Villa No. and moves one cell to right
4. Prompts User to input either " " or "1"
5. Move one cell to right
6. Prompts User to input either "Y" or ""
7. Loops back to 1. above unless User Exits
Ideally the User should not be able to exit until 7.
Many thanks
Trying to create a macro that will
1. Prompt User to input Villa No.
2. If Villa No not found then back to 1. ( That's because Villas are currently numbered 1-270; 401-428; 801-858)
3. Locate the Villa No. and moves one cell to right
4. Prompts User to input either " " or "1"
5. Move one cell to right
6. Prompts User to input either "Y" or ""
7. Loops back to 1. above unless User Exits
Ideally the User should not be able to exit until 7.
Many thanks