Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Updating Links on Open


Hello,

I am trying to get my workbook to open without updating links and
without even asking to update links. I can get it to not ask me the
question but it still goes ahead and updates the links and it takes
even longer than if it had asked me the question and i had said yes.

this is my code in "This WorkBook"

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

Does anyone know what I'm doing wrong and a way to solve this.

Many thanks for any replies

John


--
johncassell
------------------------------------------------------------------------
johncassell's Profile: http://www.excelforum.com/member.php...o&userid=25016
View this thread: http://www.excelforum.com/showthread...hreadid=398979

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Updating Links on Open

What version of Excel do you have?

--
Jim
"johncassell"
wrote in message
...
|
| Hello,
|
| I am trying to get my workbook to open without updating links and
| without even asking to update links. I can get it to not ask me the
| question but it still goes ahead and updates the links and it takes
| even longer than if it had asked me the question and i had said yes.
|
| this is my code in "This WorkBook"
|
| Private Sub Workbook_Open()
| Application.AskToUpdateLinks = False
| UpdateRemoteReferences = False
| End Sub
|
| Does anyone know what I'm doing wrong and a way to solve this.
|
| Many thanks for any replies
|
| John
|
|
| --
| johncassell
| ------------------------------------------------------------------------
| johncassell's Profile:
http://www.excelforum.com/member.php...o&userid=25016
| View this thread: http://www.excelforum.com/showthread...hreadid=398979
|


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Updating Links on Open


Microsoft Excel 200

--
johncassel
-----------------------------------------------------------------------
johncassell's Profile: http://www.excelforum.com/member.php...fo&userid=2501
View this thread: http://www.excelforum.com/showthread.php?threadid=39897

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Updating Links on Open

The updating of links occurs before any code runs - so your code is useless.

In xl2002 and later, you have options to control this in Edit=Links.

In earlier versions, there is no easy solution. You can use two
workbooks - open a dummy workbook which has code to open the original
workbook without updating links (an argument in the open method) and then
close itself (the dummy workbook).

--
Regards,
Tom Ogilvy


"johncassell"
wrote in message
...

Hello,

I am trying to get my workbook to open without updating links and
without even asking to update links. I can get it to not ask me the
question but it still goes ahead and updates the links and it takes
even longer than if it had asked me the question and i had said yes.

this is my code in "This WorkBook"

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

Does anyone know what I'm doing wrong and a way to solve this.

Many thanks for any replies

John


--
johncassell
------------------------------------------------------------------------
johncassell's Profile:

http://www.excelforum.com/member.php...o&userid=25016
View this thread: http://www.excelforum.com/showthread...hreadid=398979



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Updating Links on Open


ok thanks for that Tom.


--
johncassell
------------------------------------------------------------------------
johncassell's Profile: http://www.excelforum.com/member.php...o&userid=25016
View this thread: http://www.excelforum.com/showthread...hreadid=398979



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
Open Excel 2007 without Updating Links TKS_Mark Excel Discussion (Misc queries) 1 September 4th 07 05:48 PM
problem updating links unless sources are open Sue Excel Worksheet Functions 1 June 4th 07 03:53 PM
Links not updating unless the source is open... John Keith[_2_] Excel Programming 3 March 12th 05 10:29 PM
Updating Links Jonathan Parminter Excel Programming 6 October 7th 04 12:18 AM
Open external book before updating links? ianripping[_71_] Excel Programming 1 June 19th 04 11:55 PM


All times are GMT +1. The time now is 09:49 PM.

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

About Us

"It's about Microsoft Excel"