我有這個網址下載文件: '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