Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I have a workbook (WB01) that contains a macro to open a second workbook
(WB02). WB01 has links to WB02, so when WB01 is opened, the 'This workbook contains links to other data sources' dialog box is presented. How can I code my WB01 Workbook_Open() subprocedure to suppress this dialog box? |
#2
![]() |
|||
|
|||
![]()
Hi Tim
Set mybook = Workbooks.Open(FNames, Password:="ron", WriteResPassword:="ron", UpdateLinks:=0) If your workbooks are protected you can us this in the Workbooks.Open arguments Password:="ron" and WriteResPassword:="ron" If you have links in your workbook this (UpdateLinks:=0) will avoid the message do you want to update the links or not < 0 Doesn't update any references See the VBA help for more information about the Workbooks.Open arguments -- Regards Ron de Bruin http://www.rondebruin.nl "Tim Kredlo" <Tim wrote in message ... I have a workbook (WB01) that contains a macro to open a second workbook (WB02). WB01 has links to WB02, so when WB01 is opened, the 'This workbook contains links to other data sources' dialog box is presented. How can I code my WB01 Workbook_Open() subprocedure to suppress this dialog box? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Disable Query Refresh warning dialog box in Excel 2003 | Excel Discussion (Misc queries) | |||
Update linked cells within a workbook??? | Links and Linking in Excel | |||
Update Individual Links | Excel Discussion (Misc queries) | |||
Save a Copy/Overwrite changes dialog box | Excel Discussion (Misc queries) | |||
Automatic Chart Update? | Charts and Charting in Excel |