我想拉抵押贷款利率从银行网站到Excel 2010。这是适用的网站:http://www.bmo.com/home/personal/banking/rates/mortgagesExcel网络查询动态数据
我创建在Excel Web查询来做到这一点:(数据 - - >从网页 - >“网站”)。通过浏览器查看,页面显示实际费率。在Excel中,我只得到这样的占位符:
Mortgage Rates
5 year Low Rate (closed) %*
Prime Rate %
问题似乎是Excel无法识别网页上的动态内容。如果我“查看源文件”感兴趣的数据,我看到的是,利率是由JavaScript的变量填充:
<td class="ratesSubLabel">Prime Rate</td>
<td class="rate"><script type="text/javascript">document.write(prime.value);</script>%</td>
任何人都可以在这方面帮助?
Web查询将不能工作,因为数据表是通过JSON一旦HTML页面通过http://www.bmo.com/bmocda/templates/json_mortgage_include.jsp链路负载到来。 – Santosh
@Santosh - 感谢您的光临。 – Roberto