I am trying to get my macro to run a bit faster and i was wondering which way is the fastest:
1)
Set cell2 = Range("F" & CurrentRow)
Set Columns = Range(cell2, cell2.Offset(0, LastColumn - 6))
i = 0
For Each cell In Columns
If cell.Value = " - " Then
Else
...code...
Next cell
2)
Set cell2 = Range("F" & CurrentRow)
CurrentColumn=6
While CurrentColumn <= LastColumn
Cells(CurrentColumn,CurrentRow).Value...code...
CurrentColumn = CurrentColumn+1
Wend
And is there a faster way than these two?
Thanks in advance, Bruno