Hello,
I am currently writing a section of a code that will display the results of a search function from an array. However, I keep encountering an 'invalid qualifier' error. Can someone please let me know why it keeps doing this?
I am currently writing a section of a code that will display the results of a search function from an array. However, I keep encountering an 'invalid qualifier' error. Can someone please let me know why it keeps doing this?
Code:
Dim Results1() as Variant
Dim i1 as Integer
Dim NextRow as Integer
For i1 = LBound(Results1) To UBound(Results1)
Results1(i1).EntireRow.Copy
Worksheets("searchresults").Select
NextRow = Range("D65536").End(xlUp).Row + 1
Cells(NextRow, 1).Select
ActiveSheet.Paste
Next il1