Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatically selecting "Do not update links" when VBA loads excel doc

Status
Not open for further replies.

VBAguy22

IS-IT--Management
Aug 5, 2003
180
CA
Hi
I am loading another Excel document from my current one programatically using Open function.
The loaded file has links and the pop up menu keeps appearing every time i load it asking me if I want to update links. I set display alerts to false, but it's still doing it.
What is the command to set "Do not update links" to default and avoid the pop up box?

THNX!
 
USe UpdateLinks:=False when you call the Workbooks.Open method.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top