Hi there,
I am trying to create a userform that will present me with the next available phone number (based on Switch type). Once the phone number is generated, and the user confirms they will be using it, the number's status will go from inactive to active.
Here's a mock of how the raw data looks like:
Here's a mock of how the userform will look:
This is the flow I'm looking for:
I am trying to create a userform that will present me with the next available phone number (based on Switch type). Once the phone number is generated, and the user confirms they will be using it, the number's status will go from inactive to active.
Here's a mock of how the raw data looks like:
Switch Type | Phone Number | Activity |
1 | 9050000001 | Active |
1 | 9050000002 | Inactive |
1 | 9050000003 | Inactive |
2 | 9050000004 | Active |
2 | 9050000005 | Active |
2 | 9050000006 | Inactive |
3 | 9050000007 | Inactive |
3 | 9050000008 | Inactive |
3 | 9050000009 | Inactive |
4 | 9050000010 | Active |
4 | 9050000011 | Active |
4 | 9050000012 | Inactive |
5 | 9050000013 | Inactive |
5 | 9050000014 | Active |
5 | 9050000015 | Inactive |
Here's a mock of how the userform will look:
This is the flow I'm looking for:
- User selects the switch type they're looking for (from 1 to 5)
- User specifies whether they want an Active or Inactive number (The user will always select "inactive" number, but I have this here to show that the phone generator requires two criteria. I can remove from userform if it's possible to account for it in the code)
- After they've specified what they want, they will click "Generate Phone Number"
- The phone number will show in the textbox below "Here's your phone number"
- If the user says "yes" or "no" to "confirm if they will be using this phone number", it will either change the Activity of the phone number to "Active" (if Yes), or leave it the same as "Inactive" (if No)