|
-
Jun 26th, 2000, 12:34 PM
#1
Thread Starter
Addicted Member
Need to start at "A" cell 5 rows down and loop 30 times what code would help me to do this and I need the rows to be shaded.
-
Jun 26th, 2000, 01:00 PM
#2
Frenzied Member
What do you mean?
Starting in cell A5 is easy...
But what do you want to do in your loop? Can you be more specific?
-
Jun 26th, 2000, 01:09 PM
#3
Frenzied Member
If you mean you need to select column A, rows 5 through 35, then you can do this...
Code:
Range("A5:A35").Select
Or if you just need to use a loop to select them, then try this:
Code:
Dim intRow As Integer
For intRow = 5 To 35
Range("A5:A" & intRow).Select
Next ' intRow
P.S. If you get stuck with VBA, the easiest way to figure out what to do is record a macro of what you want to do, then look at the code the macro generated. Then edit this to what you want.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|