SimonDavis
Technical User
I'm trying to make some code to run through a sheet and change it to alternating white and green stripes (similar to a computer printout).
I need to run the process often, as sorting the data almost always messes it up.
So, I'm going to make a code that goes to the first cell, selects horizontally to the other side of the sheet, fills green, then offsets (down) by 1, selects and changes to white. Then I offset and run the code again, in a loop. I can do all of that, except get it to select the range . . .
So, could anyone help with the code to get the cursor to select a range from the current cell, to the cell say 15 columns to the right? Absolute references won't work of course.
This is Excel 2002, and vb 6.3
Thanks
I need to run the process often, as sorting the data almost always messes it up.
So, I'm going to make a code that goes to the first cell, selects horizontally to the other side of the sheet, fills green, then offsets (down) by 1, selects and changes to white. Then I offset and run the code again, in a loop. I can do all of that, except get it to select the range . . .
So, could anyone help with the code to get the cursor to select a range from the current cell, to the cell say 15 columns to the right? Absolute references won't work of course.
This is Excel 2002, and vb 6.3
Thanks