AlexanderBB
Well-known Member
- Joined
- Jul 1, 2009
- Messages
- 2,045
- Office Version
- 2019
- 2010
- Platform
- Windows
This is some code I'm writing
In the line remmed what would be a good approach? I need to skip any cells before CQ.
VBA Code:
Set iRange = .Range("A" & ThisRow & ":" & HiCol & ThisRow)
For Each Cel In iRange
Set Access = New clsAccess
If CRCol(iSheet, Cel) = True Then
Match = Access.CR(Cel)
' at this point we want loop to jump to Cell CQ
Else
Match = Access.cfrm(Cel) 'Returns true or false if cell matches db
End If
If Match = False Then Stop: 'To Do
Next