kelly mort
Well-known Member
- Joined
- Apr 10, 2017
- Messages
- 2,169
- Office Version
- 2016
- Platform
- Windows
My data starts from B5 and contains codes or ids like:
101
102
103
201
202
And so on.
So when I select a number in combobox1, say 1, I want to find the maximum number for the range of numbers having the first digit (from left) which matches the selection made in the combobox1.
Which in this case, will be 103.
Can someone help me out with it, using a MsgBox alert?
Thanks so much in advance.
101
102
103
201
202
And so on.
So when I select a number in combobox1, say 1, I want to find the maximum number for the range of numbers having the first digit (from left) which matches the selection made in the combobox1.
Which in this case, will be 103.
Can someone help me out with it, using a MsgBox alert?
Thanks so much in advance.