Opening several files and combining them into 1 workbook. The files will not open - due protected view......
how do I allow the files to be opened to be copied?
Thanks!!!
Opening several files and combining them into 1 workbook. The files will not open - due protected view......
how do I allow the files to be opened to be copied?
Thanks!!!
May you not just enable editing, or will the files actually not open because of the file type restrictions?
- Please remember to mark threads Solved with Thread Tools link at top of page.
- Please use code tags when posting code: [code]Place your code here[/code]
- Please read Forum Rules
The files will not open. I have tried modifying the setting in the trust center.
fName = Dir("*.xls")
Do While Len(fName) > 0
Application.DisplayAlerts = False
Workbooks.OpenText Filename:=fName _
It gives me a "run-time error. Office has detected a problem with this file. To help protect your computer the file cannot be opened."
Is there an ignore command?
Why do you use OpenText to open an .xls file? May you open the file manually or is it the same error?
Got it thx!
Application.ProtectedViewWindows.Open Filename:=fName
Application.ActiveProtectedViewWindow.Edit
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks