课程大纲
Excel对象模型
- 使用VBA保护工作表
- 工作簿对象,工作簿集合
- 工作表对象,工作表集合
- 验证工作表
- Range对象的实用方法
- 复制、粘贴、选择性粘贴
- CurrentRegion属性
- 查找、替换
- 排序范围
- 图表(图表对象)
事件
- 应用程序级事件
数组
- 动态数组
- Variant表数组
- 优化数组和内存
- 多维数组
面向对象编程
- 类与对象
- 创建类
- 创建与销毁对象
- 创建方法
- 创建属性
- 使用属性验证数据
- 默认属性与方法
- 类模块中的错误处理
创建与管理集合
- 创建集合
- 添加与移除项
- 引用组件(使用键与索引)
高级结构与VBA函数
- 按值与按引用传递参数(ByRef与ByVal)
- 可变数量参数的过程
- 可选参数与默认值
- 未知数量参数的过程(ParamArray)
- 枚举,方便的参数传递
- 用户定义类型(User-defined Type)
- 服务Null、Nothing、空字符串""、Empty、0
- 类型转换(Conversion)
文件操作
- 打开与关闭文本文件
- 读写文本与二进制数据
- 处理CSV文件中的记录
- 高效处理文本文件
在其他应用中使用VBA函数
附加内容
- 创建自己的插件
- 为插件创建工具栏
- 安装与保护自己的插件
使用外部库
连接外部数据库(ODBC, OLEDB)
客户评论 (7)
I like the hands on training and seeing us solve for issues on the spot.
Jon Matrille - LocumTenens.com
课程 - Visual Basic for Applications (VBA) in Excel - Advanced
I really enjoy the training. Huge and practical! knowledge of the trainer combined with his skill to conduct the training made the training time very efficient. The trainer recognized the level of participant's experience in VBA and provided exercises relevant to that experience which made the training very useful.
Barbara Peek - UBS Business Solutions Poland Sp. z o.o.
课程 - Visual Basic for Applications (VBA) in Excel - Advanced
I was benefit from the trainer knowledge, explanation and tips.
Kornel Tymcio - UBS Business Solutions Poland Sp. z o.o.
课程 - Visual Basic for Applications (VBA) in Excel - Advanced
I liked the trainer, nice guy with great attitude.
Lukasz Kanior - UBS Business Solutions Poland Sp. z o.o.
课程 - Visual Basic for Applications (VBA) in Excel - Advanced
I generally enjoyed the knowledge and sense of humor.
Lukasz Rozga - UBS Business Solutions Poland Sp. z o.o.
课程 - Visual Basic for Applications (VBA) in Excel - Advanced
I mostly was benefit from the fitted training to people needs.
Robert Solek - UBS Business Solutions Poland Sp. z o.o.
课程 - Visual Basic for Applications (VBA) in Excel - Advanced
The whole topic is interesting - everything was OK.