N
NigelVII
Hello,
I have this:
Dim MatchResponse as Variant
Dim PasteRow as Long
Dim nCount as Long
MatchResponse = Application.Match(Range(PasteRow, 1), _
Range(Cells(-nCount, 3), Cells(-nCount, 29)), 0)
The active cell is at (PasteRow,2).
The values in the local window are:
PasteRow = 16
nCount = 15
I am trying to then use this to do an IsError(MatchResponse) but I keep
getting a runtime error ('1004' application-defined or object-defined error)
at this statement.
I have been trying to get this to work for sometime but have reached the end
of by beginners abilities. If someone could offer assistance, it would be
appreciated.
Thanks!
I have this:
Dim MatchResponse as Variant
Dim PasteRow as Long
Dim nCount as Long
MatchResponse = Application.Match(Range(PasteRow, 1), _
Range(Cells(-nCount, 3), Cells(-nCount, 29)), 0)
The active cell is at (PasteRow,2).
The values in the local window are:
PasteRow = 16
nCount = 15
I am trying to then use this to do an IsError(MatchResponse) but I keep
getting a runtime error ('1004' application-defined or object-defined error)
at this statement.
I have been trying to get this to work for sometime but have reached the end
of by beginners abilities. If someone could offer assistance, it would be
appreciated.
Thanks!