摘要
研究了在Excel中获取Web数据的问题。通过Excel菜单功能给出了一种直接获取数据的功能,在此基础上利用VBA技术给出了另一种技术,这种技术通过在Excel中打开VBA开发环境,利用循环结构,每次取得用户选择的数据信息得到一系列具有相似结构的Web数据,自动按照用户指定的方式存入指定区域,这些功能统一通过用户事先编写的VBA程序来自动完成,对于需要获取大量Web数据的用户而言利用该技术可以节省大量时间。
This paper studies how to obtain the Web data in Excel. One directed method is proposed to use menu of Excel. In add itlon,another method based on VBA is given. In this method ,cycle structure is used to query Web data,users input their selection, then procedure will automatic obtain data and save it in appointed range ,the realization of these function need our VBA program. This point is important for users that need to query abundant data.
出处
《现代电子技术》
2005年第18期32-34,共3页
Modern Electronics Technique
作者简介
苗保山,男,1972年出生,西安理工大学理学院应用数学系教师。