问题
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