当前位置: 首页 > 文章 > 在VB中使用Excel对象的分析 浙江海洋学院学报(自然科学版) 2002,21 (1) 86-90
Position: Home > Articles > An Illustration for Using Excel Object in VB Journal of Zhejiang Ocean University(Natural Science) 2002,21 (1) 86-90

在VB中使用Excel对象的分析

作  者:
李光飞;周桂云
单  位:
浙江海洋学院信息学院;舟山商业学校
关键词:
Visual Basic;Excel;OLE;窗体;控件
摘  要:
分析了一个在VB中调用Excel对象,实现用VB编程,把原始数据、中间数据及结果都写入Excel文件来求线性方程组解的实例,同时介绍了VB调用Excel,VB把数据写入到Excel中的单元格并对单元格的内容进行格式控制、数值计算,把计算结果从Excel传送回VB的实现方法。
译  名:
An Illustration for Using Excel Object in VB
作  者:
LI Guang - fei1 ,ZHOU Gui - yun2(1. Information College of Zhejiang Ocean University, Zhoushan 316004; 2. Zhoushan Commercial School, Zhoushan 316004, China)
关键词:
Visual Basic; Excel; OLE; forms; control
摘  要:
This article gives an example of transferring Excel object in VB, using VB to program and putting the original data, the intermediate data and the results into Excel file to solve the linear equations. Meanwhile it introduces ways to use VB to transfer Excel, to put the data into the Excel cells, to format and numerically calculate the contents of the cells, to and send the calculated results from Excel back to VB.

相似文章

计量
文章访问数: 11
HTML全文浏览量: 0
PDF下载量: 0

所属期刊

推荐期刊