syndee
New Member
- Joined
- Jan 14, 2017
- Messages
- 18
My Control File contains several worksheets.
It links to data in other files in same folder.
Just having problem with updating links with auto updating and returning to Control File.xlsm
Tried this but need files to save and close except Control File.xlsm after updating.
Is that possible?
Private Sub Workbook_Open()
Application.ScreenUpdating = False
ActiveWorkbook.UpdateLinks = xlUpdateLinksAlways
Workbooks.Open Filename:= _
"C:\Users\Cindy\Desktop\Excel-Trial File to eliminate pasting\File 2.csv"
Workbooks.Open Filename:= _
"C:\Users\Cindy\Desktop\Excel-Trial File to eliminate pasting\File 1.csv"
Application.ScreenUpdating = True
End Sub
It links to data in other files in same folder.
Just having problem with updating links with auto updating and returning to Control File.xlsm
Tried this but need files to save and close except Control File.xlsm after updating.
Is that possible?
Private Sub Workbook_Open()
Application.ScreenUpdating = False
ActiveWorkbook.UpdateLinks = xlUpdateLinksAlways
Workbooks.Open Filename:= _
"C:\Users\Cindy\Desktop\Excel-Trial File to eliminate pasting\File 2.csv"
Workbooks.Open Filename:= _
"C:\Users\Cindy\Desktop\Excel-Trial File to eliminate pasting\File 1.csv"
Application.ScreenUpdating = True
End Sub