Hi everyone,
From what I already read on this forum this is a very common error but the existent threads didn't help me though.
This is the first time I'm programming in Excel/VBA and I'm doing something really simple. I need this for image processing: I have two columns with x and y coordinates, and want to make them look like (80.524, 5.24),
So I'm just merging the columns (+xcoordinate+, and ycoordinate+)+,
My whole code is:
The error line is the 5th (or the 6th if I comment the 5th). The commented 4th line, I used it to see if it made a difference and it didn't...
Thank you in advance !
Cheers,
Tania
From what I already read on this forum this is a very common error but the existent threads didn't help me though.
This is the first time I'm programming in Excel/VBA and I'm doing something really simple. I need this for image processing: I have two columns with x and y coordinates, and want to make them look like (80.524, 5.24),
So I'm just merging the columns (+xcoordinate+, and ycoordinate+)+,
My whole code is:
Code:
Sub Ordz()
x = 1
Do While x < "7913"
'Do While Cells(x, 1).Value <> ""
[B]Cells(x, 8).Value = Cells(x, 1).Value + Cells(x, 2).Value + Cells(x, 3).Value[/B]
Cells(x, 9).Value = Cells(x, 4).Value + Cells(x, 5).Value + Cells(x, 6).Value
x = x + 1
Loop
End Sub
The error line is the 5th (or the 6th if I comment the 5th). The commented 4th line, I used it to see if it made a difference and it didn't...
Thank you in advance !
Cheers,
Tania