largeselection
Active Member
- Joined
- Aug 4, 2008
- Messages
- 358
I have some code that I run and a part of it says:
So I'm getting an error at the "For g" row because I'm sure I have the construction wrong. So how can I define this range so that it steps through (first g = 8, then at the "next g" it goes to 11").
Or would I put this at the end after the Next. Something like:
Sorry I'm new at some of these things. Thanks for your help.
Code:
Do While OX > 0
For g = 08, 11, 14, 17, 20
.
.
.
Next g
So I'm getting an error at the "For g" row because I'm sure I have the construction wrong. So how can I define this range so that it steps through (first g = 8, then at the "next g" it goes to 11").
Or would I put this at the end after the Next. Something like:
Code:
For g = 08 to 20
.
.
.
Next g+3
Sorry I'm new at some of these things. Thanks for your help.