Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The below gives error 9: subscript out of range (when error handling is not
used). I thought it might be to do with workbooks(path), but not sure. It is located in the ThisWorkbook object. Private Sub workbook_open() 'sub to force intermediate xlwb to update its links without opening it 'Dim msg As String On Error GoTo ms with Workbooks("G:\filepath\filepath\file.xls") ..UpdateLink Name:=.LinkSources end with Exit Sub ms: msg = "links may have not updated properly" & vbNewLine msg = msg & "open relevant file" MsgBox msg End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to update a column in a work based on another work sheet | New Users to Excel | |||
HOW TO MAKE A LIST OF WORK SHEET IN WORK BOOK IN EXCEL 2007 | Excel Programming | |||
If I have a work sheet protected and try to run a macro to hide rows or columns it won't work. Correct? | Excel Programming | |||
Counting dates in multiple work sheets and work books | Excel Discussion (Misc queries) | |||
Is there away to keep "auto save" from jumping to the first work sheet in the work book? | New Users to Excel |