VB error "Type mismatch"

Hi Guys, I am getting type Mismatch in the last line below for this VB Code. Any ideas why?

Dim wb As Workbook
Set wb = ThisWorkbook


    Workbooks.Open filename:= _
        "O:\PRODUCT CONTROL\London P&L\GM_London_PnL_20160912.xlsm"
    Range("D83:D84").Select
    Selection.Copy

    Windows(wb).Select
JCutcliffeAsked:
Who is Participating?
 
Rgonzo1971Connect With a Mentor Commented:
Hi,

pls try

wb.Activate

Regards
0
 
JCutcliffeAuthor Commented:
excellent
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.