Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Can't Update Links

Hi,

I've got a workbook which is 4.6MB. It has links to
different workbooks which vary from 48K to 4.0MB. I've
attempted to update the links of the workbook using update
links as follows:

=========================
varSnapbookLinks = wkbSnapTemplate.Linksource(xlExcelLinks)

If not isEmpty(varSnapbookLinks) then
for i = 1 to ubound(varSnapbookLinks)
wkbSnaptemplate.UpdateLink Name:=varSnapbookLinks(i)
next i
End if
===========================

This works with other workbooks but does not with this one:

So, I've developed a work around as follows:

============================
varSnapbookLinks = wkbSnapTemplate.Linksource(xlExcelLinks)

If not isEmpty(varSnapbookLinks) then
for i = 1 to ubound(varSnapbookLinks)
workbooks.open Filename:=varSnapbooksLinks(i),_
updateLinks:=false, ReadOnly:=True
Call Close_File(Activeworkbook) 'a simple routine
which closes the file with specific parameters.
next i
End if

==============================


This works, until I open the next file, at which time the
previously updated links revert to zero.

The links won't update manually only and the only way to
get all of the links to update is to open all the files at
once.

I suspect that the problem has to due with the files size
and the amount of memeory available.

Any ideas?

Thanks.
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
Update Links Kash Excel Worksheet Functions 3 July 3rd 09 01:13 PM
update links Ed Jones Excel Discussion (Misc queries) 0 May 1st 08 06:20 PM
Update links box gives Continue or Edit Links dialog KarenF Excel Discussion (Misc queries) 0 May 18th 07 01:17 PM
can't update links...can't find links GJR3599 Excel Discussion (Misc queries) 1 April 4th 05 04:56 PM
Why is it asking to update links? Connie Martin Links and Linking in Excel 2 February 25th 05 05:23 PM


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