In the code fragment below the line: Cells(m,k)= Application.....)) raises a 424 Object Required error. I cant't resolve it. Under Tools I have installed Microsoft Excell 14.0 Object Library. I will appreciate finding out what I have missed.
Regards,
Ernie
Regards,
Ernie
Sub Test() |
For J = 1 To 8 'for 8 numeric characters n serial number |
For k = 14 To 21 'column |
For m = 5 To 14 'row |
Cells(m, k) = Application.WorksheetFunction.CountIf((Range(Cells(5, k - 10), Cells(maxk, k - 10))), Cells(m, 13)) |
Stop |
Next |
Next |
Next |
End Sub |
Last edited by a moderator: