Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Update links without warning

In several posts I've seen the following to allow automatic updating of links
on workbook open without the excel warning being displayed.

Application.Workbooks.Open Filename:="D:\TEMP\sample.xls", UpdateLinks:=True

I've entered the above code in my workbook open event. However, when I open
the file, Excel still prompts me with the choise to update or not. After
this, the macro results in an error because it want to open my workbook a
second time...

Any suggestions to what I'm doing wrong here? Using excel 2000
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Update links without warning

Your line of code assumes that there really two workbooks. Put the macro in
temp.xls. When temp is openned, it will, in turn, open sample.
--
Gary''s Student - gsnu200738


"Hendrik.Kleine" wrote:

In several posts I've seen the following to allow automatic updating of links
on workbook open without the excel warning being displayed.

Application.Workbooks.Open Filename:="D:\TEMP\sample.xls", UpdateLinks:=True

I've entered the above code in my workbook open event. However, when I open
the file, Excel still prompts me with the choise to update or not. After
this, the macro results in an error because it want to open my workbook a
second time...

Any suggestions to what I'm doing wrong here? Using excel 2000

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Update links without warning

That means I have to open temp in order to open this one. I want the user to
be able to open my file (sample.xls) and not have the warning displayed, yet
have the links updated automatically. Is this not possible?

"Gary''s Student" wrote:

Your line of code assumes that there really two workbooks. Put the macro in
temp.xls. When temp is openned, it will, in turn, open sample.
--
Gary''s Student - gsnu200738


"Hendrik.Kleine" wrote:

In several posts I've seen the following to allow automatic updating of links
on workbook open without the excel warning being displayed.

Application.Workbooks.Open Filename:="D:\TEMP\sample.xls", UpdateLinks:=True

I've entered the above code in my workbook open event. However, when I open
the file, Excel still prompts me with the choise to update or not. After
this, the macro results in an error because it want to open my workbook a
second time...

Any suggestions to what I'm doing wrong here? Using excel 2000

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Update links without warning

See:

http://support.microsoft.com/Default.aspx?kbid=829072


--
Gary''s Student - gsnu200738


"Hendrik.Kleine" wrote:

That means I have to open temp in order to open this one. I want the user to
be able to open my file (sample.xls) and not have the warning displayed, yet
have the links updated automatically. Is this not possible?

"Gary''s Student" wrote:

Your line of code assumes that there really two workbooks. Put the macro in
temp.xls. When temp is openned, it will, in turn, open sample.
--
Gary''s Student - gsnu200738


"Hendrik.Kleine" wrote:

In several posts I've seen the following to allow automatic updating of links
on workbook open without the excel warning being displayed.

Application.Workbooks.Open Filename:="D:\TEMP\sample.xls", UpdateLinks:=True

I've entered the above code in my workbook open event. However, when I open
the file, Excel still prompts me with the choise to update or not. After
this, the macro results in an error because it want to open my workbook a
second time...

Any suggestions to what I'm doing wrong here? Using excel 2000

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Security Warning Message Bar to update External Links in Excel 200 ash Excel Worksheet Functions 0 August 1st 08 10:42 AM
Update links box gives Continue or Edit Links dialog KarenF Excel Discussion (Misc queries) 0 May 18th 07 01:17 PM
Suppressing Update Links Warning Sprinks Excel Programming 5 October 26th 06 08:35 PM
Suppress Update Links dialog AND don't update links Paul Martin Excel Programming 3 August 3rd 06 01:14 AM
Excel 2003 - Update or Don't Update Links Problem Jamie Excel Programming 4 July 7th 05 02:08 PM


All times are GMT +1. The time now is 05:26 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"