OK, I have 13 columns containing either 0,1,3,9, or 99. I need to loop through these columns and do something depending on which of those values each column contains. My only issue is I don't know how to loop through columns. The first column is DR, the last column is ED. Something like this:
Obviously this isn't correct, just a stab so you have a better idea of what I'm trying to accomplish.
Any help you can provide would be greatly appreciated...
Oh, and I don't need help with the If statements, I just need to figure out how to loop through the correct columns.
Thanks!
Hank
Code:
For ActiveSHeet.Columns(DR) To ActiveSheet.Columns(ED)
If Column.Row("3").Value = 0 Then
ElseIf .Value=1 Then
ElseIf .Value=3 Then
ElseIf .Value=9 Then
ElseIf .Value=99 Then
End If
Next Column
Obviously this isn't correct, just a stab so you have a better idea of what I'm trying to accomplish.
Any help you can provide would be greatly appreciated...
Oh, and I don't need help with the If statements, I just need to figure out how to loop through the correct columns.
Thanks!
Hank