I use the following to loop though rows in an Excel spreadsheet
If the code checking the value in the cell meets certain criteria, I want to stop the loop.
How do I do this?
Thanks
Code:
For Row = 1 To CountRow
code that checks value in cell
Next Row
If the code checking the value in the cell meets certain criteria, I want to stop the loop.
How do I do this?
Thanks