Avatar of Justin
Justin
 asked on

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
Visual Basic ClassicMicrosoft Excel

Avatar of undefined
Last Comment
Justin

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Rgonzo1971

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Justin

ASKER
excellent
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck