Excel WEBSERVICE formula returns #VALUE error

浪尽此生 提交于 2019-12-24 20:54:28

问题


This should be the strangest thing I have came across with MS Excel. I have very very very big calculation tool made with MS Excel. Now I wanted to increase it's functionality by adding distance and traveling time calculation using Google API Key. Everything worked fine until one day I started to get #VALUE errors.

I have started a case earlier but now after some more investigations I have noticed a strange behavior. If I create new Excel workbook file on my work computer and use my Google Maps API key in =WEBSERVICE formula, everything works fine and I am able to get XML file data. However in my original calculation tool I receive #VALUE error. Also I have tried for example =WEBSERVICE("https://www.google.com/"). In newly created Excel workbook I get html code but in my calculation tool I get #VALUE error. I have tried to rename my file and copy to OneDrive with no success. I have also tried to remove all data queries and all vba macros with no results.

Of course I can create new Excel workbook and copy everything from my calculation tool there but that's one heck of a job and where is the guarantee this case will not happen again. I am wondering, is there something in particular Excel file settings that can be blocking =WEBSERVICE formula?

来源:https://stackoverflow.com/questions/54179960/excel-webservice-formula-returns-value-error

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!