how can I create a excel vba to display the following numbers to 170
3
7
13
17
23
27
33
37
43
47
...
130
170
I tried to do it with
But this doesn't work. how do I fix this? this was an interview question.Code:for x = 3, x <= 170 Step 3 { x= x + 1 } Next x




Reply With Quote