GomaPile
Active Member
- Joined
- Jul 24, 2006
- Messages
- 334
- Office Version
- 365
- Platform
- Windows
Hello All,
I have a simple request, if that someone could kindly please write a vba code. I have a single scroll bar (ActiveX control) that is connected to H25 cell; to which it goes up increment levels by one with every mouse click, starting from 1 – 194.
What I like to achieve at some point of the increment levels that changes, I like is 1, 2 skip a few 99, 100 scenarios ( from a certain range of numbers that I don't need, missing them altogether) going to the next number and returning back to 1.
For example:
1
2
3
4
5 to 9 skip these numbers goto 10
10
11
12
13 to 19 skip these numbers goto 20
20
21
22
23
24 to 27 skip these numbers goto 28
28
29
30 to 194 skip these numbers goto 1
Cheers ?
Goma (NASA)
I have a simple request, if that someone could kindly please write a vba code. I have a single scroll bar (ActiveX control) that is connected to H25 cell; to which it goes up increment levels by one with every mouse click, starting from 1 – 194.
What I like to achieve at some point of the increment levels that changes, I like is 1, 2 skip a few 99, 100 scenarios ( from a certain range of numbers that I don't need, missing them altogether) going to the next number and returning back to 1.
For example:
1
2
3
4
5 to 9 skip these numbers goto 10
10
11
12
13 to 19 skip these numbers goto 20
20
21
22
23
24 to 27 skip these numbers goto 28
28
29
30 to 194 skip these numbers goto 1
Cheers ?
Goma (NASA)