Hi i am getting an error setting range to a variable. the workbook with the sub is open but is not the activeworkbook. i am not sure of what i am missing something. following is the code
Code:
Dim RngDest As Range
Set RngDest = ThisWorkbook.Sheets("Sheet2").Range("A" & Rows.Count).End(xlUp)