Forum Discussion
Excel web query DataFormat.Error "not a valid path"
- May 02, 2018
It looks like XML schema for your Excel is customized, perhaps that's the reason.
Hi Simon,
Could you please attach sample workbook with this error? I queried URL with Get & Transform and see no issues - attached.
- mdalifmondolApr 16, 2021Copper Contributor
Dear sir i need your help
i am used nice label software .excel file or database file not conation.
- SergeiBaklanApr 16, 2021Diamond Contributor
I'm not sure how may I help, MS Access can't find the file in your Desktop folder. If check by File Explorer are you sure the file is still at this folder?
- mdalifmondolApr 27, 2021Copper ContributorMy Skype name mdalifmondol
I many many try this problem face
but this problem are not solve
can you help me I need a software to this problem solve
- Simon PearceMay 02, 2018Copper Contributor
I also asked a colleague to try from their PC - same issue when starting from scratch and using just the link I provided above from Get & Transform.
Perhaps it's an issue with our organisation's systems?
- SergeiBaklanMay 02, 2018Diamond Contributor
It looks like XML schema for your Excel is customized, perhaps that's the reason.
- Simon PearceMay 02, 2018Copper Contributor
OK, thanks.
I've found 2 things:
1) In my exiting workbook that used to work fine: If click connections, properties, definitions tab and then browse for a new connection file I can add the URL there and it successfully connects. The connection is already set to insert the data into a specific worksheet from an existing query. The query itself won't refresh (encounters the error above). If I delete the query the connection remains, and I can refresh the connection instead of refreshing a query.
This seems to get me out of trouble for this specific application in this workbook.
2) Any new workbooks continue to have the problem above. I can't seem to get a new connection to add data to a worksheet, and I can't get queries to successfully access this (or other) URLs that link to .xls files.
I'll ask my company IT guys if there's anything that's changed in our Excel setup over the past few months and we'll go from there!
Thank you again for your help, Sergei.
- SergeiBaklanMay 02, 2018Diamond Contributor
Simon, with your file I have this error
Clicking Ok couple of time after that and file refreshes correctly.
If I copy/paste your query into new workbook - no issues at all. Something is wrong with Excel itself, not with query. So far have no idea what's that.
- Simon PearceMay 02, 2018Copper Contributor
It wasn't working in my attached file. Screenshot of the query editor below showing the error and source.
My fileWhen I opened your file and refreshed the query I got the same error again! See screenshot below, after trying to refresh the query.
Sergei's file
- Simon PearceMay 02, 2018Copper Contributor
Apparently I didn't attached my file above.
It's here now.