VBA Edit Links to Files

Pinaceous

Well-known Member
Joined
Jun 11, 2014
Messages
1,111
Office Version
  1. 365
Platform
  1. Windows
Hi All,

I have a workbook that references several different workbooks.

My only question is that when I open up the parent document it takes a very long time to gather these different reference data points to update it.

My question is, How would I speed this process up?

Possible solution; Can I create a dummy document that is in continuous update mode and reference that document?

Please let me know your thoughts.

Thanks,
Pinaceous
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Is there a way to update the external links based upon selecting which worksheet that is selected?

For example, I can run this into a private sub:

VBA Code:
Sub ImportWorksheet()
    ' This macro will import a file into this workbook
   
    Application.ScreenUpdating = False

    Dim ws As Worksheet
    Dim wbOpen As Workbook
   
    For Each ws In ActiveWindow.SelectedSheets
   
    Select Case ActiveSheet.Index

            Case 23 'September
                With ws
           
           
                 Application.AskToUpdateLinks = True

          
               End With

              
     End Select
    
    Next ws

Application.ScreenUpdating = True
   
End Sub
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top