Dim wb As Workbook
Set wb = Application.Workbooks("Book2.xlsx")
wb.Activate
wb.Sheets("Sheet1").Range("A1").Select
Ps: Some times above code working properly ,most of times throwing exception
Looking at this link Run Time Error '1004': Select method of Range Class failed using ThisWorkbook i did the same as above still failing