优秀的毕业设计论文网
计算机 JAVA 电子信息 单片机 机械机电 模具 土木工程 建筑结构 论文
热门搜索词:网络 ASP.NET 汽车 电气 数控 PLC

Excel条件格式化工具的设计与实现论文 VB开发

以下是资料介绍,如需要完整的请充值下载.
1.无需注册登录,支付后按照提示操作即可获取该资料.
2.资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用.
  
资料介绍:

摘 要

[版权所有:http://think58.com]

Excel是一个在各个领域中被广泛应用的电子表格软件。通过它,我们可以很好的组织管理数据,对数据进行统计分析等。在实际应用中,我们发现经常需要根据某种特定的条件,特殊显示部分数据。虽然这种功能可以通过Excel宏来实现,但每次编写类似的代码使人感觉跟不方便。Excel同其它Office组件一样,提供了通过插件进行功能扩展的可能。通过编写和安装插件,我们可以几乎任意地扩展Excel的功能,为我们的工作提供极大的便利。本文详细介绍了一个Excel条件格式化软件的设计和实现。该软件使用COM组件技术,根据Office插件的接口要求,设计了一个Excel的插件。该插件在Excel应用程序的窗口中增加一个工具栏,并在其上创建了一个按键,用于打开格式化设置窗口。软件可以对用户输入的、用字符串表达的判断条件进行计算,并根据计算结果,将满足条件的单元数据设置为用户选择的特殊格式(字体、颜色、字号、修饰等) [来源:http://www.think58.com]

关键词:Excel插件;COM组件;接口

[资料来源:THINK58.com]

Abstract [资料来源:http://THINK58.com]

Excel is an electronic sheet software which is extensively used in various fields. By using it, we can organize and manage data, statistically analysis data easily. In practical applications, we need it usually need to specially show some data under certain conditions. This function can be achieved by using Excel macros. However,such a method is inconvenient in writing similar codes in each time. Excel, as long as other Microsoft Office softwares, povides a standard plug-in interface, also called add-in, to allow users to expand its functionalities. By writing addins for Excel, we can almost unlimitedly to expand its functionality and makes our work more easily and effectively. This paper introduces the design and implementation of an Excel conditional formatting addin, which is implemented by the COM component technique according to the interface requirements of Excel. The conditional formatting addin adds a new Toolbar into Excel, on which there is a button to be used to open the format setting dialog. The software can calculate the results of the condition expressions inputted by the user in the form of string, and according to the result, it sets the format of the cells matching the use-defined condition to special formats (font, color, font size and decoration) that was inputted by the user. [资料来源:http://THINK58.com]

Key words: Excel Addin; COM Component; Interface [来源:http://www.think58.com]

  [资料来源:http://THINK58.com]

  [来源:http://www.think58.com]

  [来源:http://www.think58.com]

论文总页数:23

[来源:http://www.think58.com]

1引言   1 [版权所有:http://think58.com]

2 COM组件的实现技术  1 [来源:http://www.think58.com]

2.1 COM组件技术 1

[资料来源:http://www.THINK58.com]

2.2 接口 2

[资料来源:THINK58.com]

2.3 插件技术 3

[资料来源:http://www.THINK58.com]

2.4 EXCEL对象模型   4 [资料来源:http://THINK58.com]

2.4.1 Excel对象模型的类以及之间的关系 4 [资料来源:THINK58.com]

2.4.2 使用Excel 5

[版权所有:http://think58.com]

2.4.3 引用Application对象   5 [资料来源:www.THINK58.com]

2.4.4 Application对象常用的属性、方法 6 [来源:http://www.think58.com]

2.4.5 使用工作薄 6 [版权所有:http://think58.com]

2.4.6 使用工作表 8 [资料来源:THINK58.com]

2.5 VB编写组件基本介绍   9

[版权所有:http://think58.com]

2.5.2 VB中编写COM组件 9

[资料来源:THINK58.com]

3 EXCEL条件格式化工具的具体实现  12 [资料来源:www.THINK58.com]

3.1插件接口方法 12 [来源:http://www.think58.com]

3.2 EXCEL插件的实现 13

[资料来源:www.THINK58.com]

3.2.1插件实现的功能  13

[资料来源:http://THINK58.com]

3.2.2具体功能实现   13 [版权所有:http://think58.com]

参考文献 21 [版权所有:http://think58.com]

    22

[资料来源:http://www.THINK58.com]

    23 [资料来源:THINK58.com]

  [资料来源:http://www.THINK58.com]

部分运行界面 [版权所有:http://think58.com]

 

[版权所有:http://think58.com]

[来源:http://www.think58.com]

 

[版权所有:http://think58.com]

  [来源:http://think58.com]