troubleshooting Question

VB error "Type mismatch"

Avatar of Justin
Justin asked on
Visual Basic ClassicMicrosoft Excel
2 Comments1 Solution152 ViewsLast Modified:
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"

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros