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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel links to other files

Status
Not open for further replies.

DKL01

Programmer
Sep 14, 2000
233
US
Hi,

I have any automated process (VB and VBA) which copies several excel files from different locations to a common area on LAN. User can view these excel files by click on the the corresponding links in HTML page. Some excel files are prompting following message when opened "The workbook you opened contains automatic links to information in another workboook. Do you want to update this workbook with the changes made to the other workbook".

Can we suppress this this message by changing properties/options of the excel file programatically using VBA?

I really appreciate any suggestions/ideas.

Thanks
 
Hello!

You could try the following:-

Private Sub Workbook_Open()
Application.AskToUpdateLinks = False
End Sub

This will update the links without asking supposedly but I'd never used it before (I'm not sure it was available in xl7 - and if it was I don't want to know now!!) but I've just tied it out with mixed results.

Give it a go!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top