我有这个网址下载文件: 'https://www.oslobors.no/ob/servlets/excel?type=history&columns=DATE%2C+CLOSE%2C+BID%2C+ASK%2C+YIELD%2C+BID_YIELD%2C+ASK_YIELD%2C+VOLUME_TOTAL%2C+VWAP&format[DATE]=ddd.mm.YY&format[CLOSE]=%23%2C%23%230.00%23%23%23&format[BID]=%23%2C%23%230.00%23%23%23&format[ASK]=%23%2C%23%230.00%23%23%23&[YIELD]=%23%2C%23%230.00%23%23%23&format[BID_YIELD]=%23%2C%23%230.00%23%23&format[ASK_YIELD]=%23%2C%23%230.00%23%23&format[VOLUME_TOTAL]=%23%2C%23%230&format[VWAP]=%23%2C%23%230.00%23%23%23&header[DATE]=AASB05%20PRO&header[CLOSE]=Siste&header[BID]=Kj%C3%B8per&header[ASK]=Selger&header[YIELD]=Eff.%20rente%20siste&header[BID_YIELD]=Eff.%20rente%20kj%C3%B8p&header[ASK_YIELD]=Eff.%20rente%20salg&header[VOLUME_TOTAL]=Volum&header[VWAP]=VWAP&view=DELAYED&source=feed.abm.quotes.INSTRUMENTS&filter=ITEM_SECTOR%3D%3DsAASB05%20PRO.ABM%26%26DELETED!%3Dn1&stop=now&start=1448924400000&space=DAY&ascending=true&filename=data.xlsx'错误在Excel VBA
,并试图在:
Workbooks.Open(TheURL)
我得到 '运行时错误 '1004':'(error)。
有没有其他解决方案?
根据你的回答(缩短网址)我找到了这个:[link](http://scripting.com/stories/2007/06/27/tinyurlHasAnApi.html),谢谢! – Zuffa