franklin_m
New Member
- Joined
- Jun 16, 2013
- Messages
- 47
- Office Version
- 365
- Platform
- Windows
- MacOS
I'm running a bit of code to open all the *.xlsx files in the same folder as the *.xlsm file. But I keep getting the window that says:
Here's the snippet of the code that's opening the files...
One thing that may or may not make a difference, is that in the 'Other code part, it calls routines. One adds a worksheet to the open *.xlsx file, and another puts some formulas in that new worksheet.
Thanks for the help.
We can't update some of the links in your workbook right now.
You can continue without updating their values, or edit the links you think are wrong.
You can continue without updating their values, or edit the links you think are wrong.
Here's the snippet of the code that's opening the files...
Code:
MyPath = ActiveWorkbook.Path & "\"
MyFiles = Dir(MyPath & "*.xlsx")
Do While MyFiles <> ""
Workbooks.Open MyPath & MyFiles
Application.AskToUpdateLinks = False
' Other code here
Loop
One thing that may or may not make a difference, is that in the 'Other code part, it calls routines. One adds a worksheet to the open *.xlsx file, and another puts some formulas in that new worksheet.
Thanks for the help.
Last edited: