ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Update links in my addin (https://www.excelbanter.com/excel-programming/356901-update-links-my-addin.html)

Rob

Update links in my addin
 
I have a workbook which contains sheets of data. The data is picked up from
other workbooks and the links update without any problem. However, when I
turn my workbook into an addin the links won't update. Can anyone tell me
what's going wrong?

Private Sub Workbook_Open()
ThisWorkbook.UpdateLink Name:=ThisWorkbook.LinkSources
End Sub

Thanks
Rob



All times are GMT +1. The time now is 10:37 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com