Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 76
Default How to update all links to other workbooks

Hello

I need to go down the list of workbooks linked to this workbook and update
each one. Is there a simple for-next loop to do this?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default How to update all links to other workbooks

Nope.

Excel doesn't keep track of what workbooks are retrieving values from a
workbook.

Cresta wrote:

Hello

I need to go down the list of workbooks linked to this workbook and update
each one. Is there a simple for-next loop to do this?

Thanks


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 76
Default How to update all links to other workbooks

Hello Dave
I'm not sure I explained my quiery very well.

When you go to Data, Edit Links, a list of the workbooks linked to this
workbook are displayed on a form which you can select Update link to update
the links you have highlighted.

Is there any code to loop through this list and update each one.

Thanks



"Dave Peterson" wrote:

Nope.

Excel doesn't keep track of what workbooks are retrieving values from a
workbook.

Cresta wrote:

Hello

I need to go down the list of workbooks linked to this workbook and update
each one. Is there a simple for-next loop to do this?

Thanks


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default How to update all links to other workbooks

Ahh.

You want to update all the links in this workbook.

Select the first source and ctrl-click on the rest (or click on the top and
shift-click on the bottom).

It works the same way as in Windows Explorer.

Cresta wrote:

Hello Dave
I'm not sure I explained my quiery very well.

When you go to Data, Edit Links, a list of the workbooks linked to this
workbook are displayed on a form which you can select Update link to update
the links you have highlighted.

Is there any code to loop through this list and update each one.

Thanks

"Dave Peterson" wrote:

Nope.

Excel doesn't keep track of what workbooks are retrieving values from a
workbook.

Cresta wrote:

Hello

I need to go down the list of workbooks linked to this workbook and update
each one. Is there a simple for-next loop to do this?

Thanks


--

Dave Peterson


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 76
Default How to update all links to other workbooks

Is there any vba code to do this task?

"Dave Peterson" wrote:

Ahh.

You want to update all the links in this workbook.

Select the first source and ctrl-click on the rest (or click on the top and
shift-click on the bottom).

It works the same way as in Windows Explorer.

Cresta wrote:

Hello Dave
I'm not sure I explained my quiery very well.

When you go to Data, Edit Links, a list of the workbooks linked to this
workbook are displayed on a form which you can select Update link to update
the links you have highlighted.

Is there any code to loop through this list and update each one.

Thanks

"Dave Peterson" wrote:

Nope.

Excel doesn't keep track of what workbooks are retrieving values from a
workbook.

Cresta wrote:

Hello

I need to go down the list of workbooks linked to this workbook and update
each one. Is there a simple for-next loop to do this?

Thanks

--

Dave Peterson


--

Dave Peterson



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default How to update all links to other workbooks

Look at VBA's help for UpdateLink.

You'll see a one liner.

Cresta wrote:

Is there any vba code to do this task?

"Dave Peterson" wrote:

Ahh.

You want to update all the links in this workbook.

Select the first source and ctrl-click on the rest (or click on the top and
shift-click on the bottom).

It works the same way as in Windows Explorer.

Cresta wrote:

Hello Dave
I'm not sure I explained my quiery very well.

When you go to Data, Edit Links, a list of the workbooks linked to this
workbook are displayed on a form which you can select Update link to update
the links you have highlighted.

Is there any code to loop through this list and update each one.

Thanks

"Dave Peterson" wrote:

Nope.

Excel doesn't keep track of what workbooks are retrieving values from a
workbook.

Cresta wrote:

Hello

I need to go down the list of workbooks linked to this workbook and update
each one. Is there a simple for-next loop to do this?

Thanks

--

Dave Peterson


--

Dave Peterson


--

Dave Peterson
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 in multiple workbooks simultaneously dano Excel Discussion (Misc queries) 2 October 8th 08 09:14 PM
Links auto update on some workbooks but not others Tasza Excel Worksheet Functions 1 October 25th 05 01:04 AM
Update links to other workbooks while running macro [email protected] Excel Programming 5 July 28th 05 06:17 AM
Can you update links between workbooks without them both open? Nicolle K. Excel Discussion (Misc queries) 1 January 7th 05 07:39 PM
Don't Update Links to Ext Workbooks using VBA SuperJas Excel Programming 1 January 31st 04 03:39 AM


All times are GMT +1. The time now is 10:44 AM.

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"