Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Update links (repost)

Hi
i have a workbook cntain a large number of links to several workbooks
i am trying to update the links automatically
i am trying to do this using a date serial value
problem i have is if i loss focus on the workbook
ie another workbook or screen saver
the update links crashes
is there a way of getting the links to update in the background ?
or
for the focus to the workbook so the links will update
i am using
ActiveWorkbook.UpdateLink Name:=ActiveWorkbook.LinkSources
if i change active to this workbook will it work?

thanks


kevin


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,805
Default Update links (repost)

Once the code starts to execute it should not matter if the screensave
starts...

Pl. share the complete code...

Add Application.ScreenUpdating = False to avoid screen updating during the
execution...

"kevcar40" wrote:

Hi
i have a workbook cntain a large number of links to several workbooks
i am trying to update the links automatically
i am trying to do this using a date serial value
problem i have is if i loss focus on the workbook
ie another workbook or screen saver
the update links crashes
is there a way of getting the links to update in the background ?
or
for the focus to the workbook so the links will update
i am using
ActiveWorkbook.UpdateLink Name:=ActiveWorkbook.LinkSources
if i change active to this workbook will it work?

thanks


kevin



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Update links (repost)

the workbook containing the macro crashes if another excel workbook is
opened and being viewed this means that the active workbook is not the
workbook containing the call to update links

ActiveWorkbook.UpdateLink Name:=ActiveWorkbook.LinkSources

if the workbook containing the code is the active workbook no problem



On 24 Oct, 15:23, Sheeloo <="to" & CHAR(95) & "sheeloo" & CHAR(64) &
"hotmail.com" wrote:
Once the code starts to execute it should not matter if the screensave
starts...

Pl. share the complete code...

Add Application.ScreenUpdating = False to avoid screen updating during the
execution...



"kevcar40" wrote:
Hi
i have a workbook cntain a large number oflinksto several workbooks
i am trying toupdatethelinksautomatically
i am trying to do this using a date serial value
problem i have is if i loss focus on the workbook
ie another workbook or screen saver
theupdatelinkscrashes
is there a way of getting thelinkstoupdatein the background ?
or
for the focus to the workbook so thelinkswillupdate
*i am using
* *ActiveWorkbook.UpdateLink Name:=ActiveWorkbook.LinkSources
if i change active to this workbook will it work?


thanks


kevin- Hide quoted text -


- Show quoted text -


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
Repost: Update querytable connections and refresh data Dale Fye Excel Discussion (Misc queries) 2 January 7th 08 05:34 PM
Repost: Disabling Update Links dialog box Sandeep Excel Discussion (Misc queries) 3 July 30th 07 07:51 PM
Update links box gives Continue or Edit Links dialog KarenF Excel Discussion (Misc queries) 0 May 18th 07 01:17 PM
keep value from last update and don't ask to update links jh3016 Excel Discussion (Misc queries) 3 July 25th 05 01:37 AM
can't update links...can't find links GJR3599 Excel Discussion (Misc queries) 1 April 4th 05 04:56 PM


All times are GMT +1. The time now is 07:32 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"