Hi!
I'm trying to build a reporting tool via Power Query that combines data from multiple .xlsm files in a folder. Excel "Get Data -> From File -> From Folder" looks to do just that. After getting familiar with the concept on my local drive I tried to load the same files from a network drive as this is how it's supposed to work. That change gives me an error message "Unexpected Error. Something went wrong. If the problem continues, please restart Excel":
Restarting Excel and PC doesn't help. No difference with a different PC either (with the same software setup though), nor does it matter if there's a single or several files in a folder (only empty folder would load up OK - but obviously with a blank page). Running Windows 10 v1903 + Office365 v2001. I do have full rights to the network folder and no restrictions when working with individual files. As well as when just launching "Get Data -> From File -> From Workbook" I can access the contents of a single file just fine even on a network folder.
Long error message to be found under "Copy details" button, containing prominently:
Stack Trace: Microsoft.Mashup.Evaluator.Interface.ErrorException: Operation is not valid due to the current state of the object. ---> System.InvalidOperationException: Operation is not valid due to the current state of the object. ---> System.InvalidOperationException: Operation is not valid due to the current state of the object.
Shouldn't make a difference here, but also made sure this location is added in Excel Trust Center as Trusted Location.
Any ideas on what to tinker with? Didn't come across any good Excel-specific leads when googling around. Thanks a lot for any suggestions!
I'm trying to build a reporting tool via Power Query that combines data from multiple .xlsm files in a folder. Excel "Get Data -> From File -> From Folder" looks to do just that. After getting familiar with the concept on my local drive I tried to load the same files from a network drive as this is how it's supposed to work. That change gives me an error message "Unexpected Error. Something went wrong. If the problem continues, please restart Excel":
Restarting Excel and PC doesn't help. No difference with a different PC either (with the same software setup though), nor does it matter if there's a single or several files in a folder (only empty folder would load up OK - but obviously with a blank page). Running Windows 10 v1903 + Office365 v2001. I do have full rights to the network folder and no restrictions when working with individual files. As well as when just launching "Get Data -> From File -> From Workbook" I can access the contents of a single file just fine even on a network folder.
Long error message to be found under "Copy details" button, containing prominently:
Stack Trace: Microsoft.Mashup.Evaluator.Interface.ErrorException: Operation is not valid due to the current state of the object. ---> System.InvalidOperationException: Operation is not valid due to the current state of the object. ---> System.InvalidOperationException: Operation is not valid due to the current state of the object.
Shouldn't make a difference here, but also made sure this location is added in Excel Trust Center as Trusted Location.
Any ideas on what to tinker with? Didn't come across any good Excel-specific leads when googling around. Thanks a lot for any suggestions!