Hi all,
I have this macro:
Dim r As Integer, c As Integer, n As Integer
For r = 2 To 5
n = 0
For c = 1 To 10
If Cells(1, c) <> Cells(r, c) Then n = n + 1
Next c
If n Then MsgBox "Row 1...." & r & "=" & n & " Parts different"
Next r
Rather than output it in a MsgBox is it possible to output the results into cells in the worksheet:
A1 A2
Row 1....2 10 Parts different
Row 1....3 5 Parts different
It will loop down the rows until all rows are output?
Many thanks for suggestions....
I have this macro:
Dim r As Integer, c As Integer, n As Integer
For r = 2 To 5
n = 0
For c = 1 To 10
If Cells(1, c) <> Cells(r, c) Then n = n + 1
Next c
If n Then MsgBox "Row 1...." & r & "=" & n & " Parts different"
Next r
Rather than output it in a MsgBox is it possible to output the results into cells in the worksheet:
A1 A2
Row 1....2 10 Parts different
Row 1....3 5 Parts different
It will loop down the rows until all rows are output?
Many thanks for suggestions....