Roderick_E
Well-known Member
- Joined
- Oct 13, 2007
- Messages
- 2,051
I'm toying around with using arrays instead of working in ranges.
Here is a simple array
While I want to load the entire c:t, what if I wanted a conditional statement in the FOR loop such as:
<== that syntax is wrong I know.
Here is a simple array
Code:
Sub dotest()
Dim DirArray As Variant
starttime = Timer
DirArray = Range("c:t").Value
For Each x In DirArray
'Debug.Print x
Next
MsgBox Round(Timer - starttime, 2)
End Sub
While I want to load the entire c:t, what if I wanted a conditional statement in the FOR loop such as:
Code:
if x.column() = 3 then....