View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default Suppress Update Links dialog AND don't update links

Drop the .asktoupdatelinks.

And change your code in your utility to open the file without updating links.

You'll see an option on the workbooks.open statement that can be used to specify
how links should be treated. See VBA's help for all the options.

Paul Martin wrote:

Hi all

I have created an Excel utility that works on the other open workbooks.
When other workbooks are opened, I want to suppress the Update Links
dialog (using Application.AskToUpdateLinks = False) but I also DON'T
want the links to be updated. Users will be on Excel 97. Any
suggestions as to a VBA solution that I can put in the utility which
will be open first?

Thanks in advance

Paul Martin
Melbourne, Australia


--

Dave Peterson