Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Update links in multiple workbooks simultaneously | Excel Discussion (Misc queries) | |||
Links auto update on some workbooks but not others | Excel Worksheet Functions | |||
Update links to other workbooks while running macro | Excel Programming | |||
Can you update links between workbooks without them both open? | Excel Discussion (Misc queries) | |||
Don't Update Links to Ext Workbooks using VBA | Excel Programming |