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


I have an Excel file that is linked to 4 other excel files.

These other excel files have VBA code to automate putting data into the
cells.

But, i have to open up the one that is linked to the other 4 each day
manually to update the links.

Is there a way to do it in code?

Thanks in advance!


--
jeffcravener
------------------------------------------------------------------------
jeffcravener's Profile: http://www.excelforum.com/member.php...info&userid=99
View this thread: http://www.excelforum.com/showthread...hreadid=530895

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Update External Links

Go to one of the 4 files and in the VBE, create a reference to the linked
workbook.

then whenever file (one of the 4) is opened, the linked file will be opened
automatically. You will not be able to close it until the file (one of the
4) is closed.

that may not be a solution for you, but is offered as a consideration.

--
Regards,
Tom Ogilvy


"jeffcravener" wrote:


I have an Excel file that is linked to 4 other excel files.

These other excel files have VBA code to automate putting data into the
cells.

But, i have to open up the one that is linked to the other 4 each day
manually to update the links.

Is there a way to do it in code?

Thanks in advance!


--
jeffcravener
------------------------------------------------------------------------
jeffcravener's Profile: http://www.excelforum.com/member.php...info&userid=99
View this thread: http://www.excelforum.com/showthread...hreadid=530895


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Update External Links


.....yeah...if i do that, iwill need to re-code what launches the other 4
files. So, i am hopnig i can just find something into the main excel
file that is linked to the other 4.

Like, have it automatically opened and then it updates, and then
closes.

But thanks, i'll keep that on hold if nothing else comes up.


--
jeffcravener
------------------------------------------------------------------------
jeffcravener's Profile: http://www.excelforum.com/member.php...info&userid=99
View this thread: http://www.excelforum.com/showthread...hreadid=530895

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Update External Links

Have a look at these two links -

http://www.rondebruin.nl/ado.htm

http://www.dicks-blog.com/archives/2...ing-workbooks/

My very basic solution would be to record a macro saved in the main
workbook, that opens obeof the four workbooks and copies/updates the
information you need to update, closes the file and then repeats for
the other three woekbooks.

This could be set to run when the main workbook is opened, so that any
time you are looking at this workbook it would have the lastest data.
The methods above would allow you to extract the update data without
having to open each of the four workbboks.

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
External workbook links don't update when source file changes Lori Lynn Excel Worksheet Functions 1 November 19th 08 06:14 PM
Security Warning Message Bar to update External Links in Excel 200 ash Excel Worksheet Functions 0 August 1st 08 10:42 AM
Prevent Excel putting full filename in external links on update [email protected] Excel Discussion (Misc queries) 5 March 29th 07 08:42 PM
External Links Don't Update When Using Certain Functions blatham Excel Discussion (Misc queries) 1 April 6th 06 02:56 PM
Links only update when external workbook is open CMB Excel Worksheet Functions 6 November 8th 05 12:39 AM


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