Just assume it, but do it prior to your call to Application.Workbooks.Open()
because that changes the current workbook.
Before you set OpenBook, set a new variable Set TargetRange = Worksheets("Imported Data").Range("A1")
. (or you could use ActiveWorkbook.Worksheets
...) Then you can change
ThisWorkBook.Worksheets("Imported Data").Range("A1").PasteSpecial xlPasteValues
to
TargetRange.PasteSpecial xlPasteValues
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…