Very new VBA user here. I keep getting an error when I have copied over a range of cells from 1 workbook to another & then go to select a new cell. When I open the workbook that the data was copied too there is still the selection active where the data was pasted & I'm thinking this is causing the error but I would expect once I clicked a new cell the selection should cancel?
The error is occurring in the 3rd line of code:
'Select Method of Range Class Failed'
The strange thing is I do the same in some code earlier & it works.
Workbooks("PS 2019_June 19_updated (Macro).xlsm").Worksheets(8).Range("A2").CurrentRegion.Copy
Workbooks("PS & Config - Actuals & FC.xlsm").Worksheets(3).Range("a2").PasteSpecial Paste:=xlPasteValuesAndNumberFormats
Workbooks("PS & Config - Actuals & FC.xlsm").Worksheets(3).Range("a1").Select
Workbooks("PS & Config - Actuals & FC.xlsm").Worksheets(3).Range("a2").Select