troubleshooting Question

Update Links

Avatar of Seamus2626
Seamus2626Flag for Ireland asked on
Microsoft ExcelVisual Basic Classic
8 Comments2 Solutions112 ViewsLast Modified:

Im trying to update my links on workbook opening

so in the thisworkbook object, on open, i have the below sub, i am getting the error message

"Application defined or object defined" error

What is the error?


Private Sub Workbook_Open()
Dim AWB As String

AWB = ActiveWorkbook.FullName

ActiveWorkbook.UpdateLink Name:=AWB, Type:=xlExcelLinks
End Sub
Rob Henson
Finance Analyst

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 8 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 2 Answers and 8 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