课程大纲
巨集
- 录制和编辑巨集
- 巨集的存储位置。
- 将巨集分配给表单、工具列、键盘快捷键
VBA 环境
- Visual Basic 编辑器及其选项
- 键盘快速键
- 优化环境
过程式程式设计简介
- 过程:函数、子
- 数据类型
- 条件语句 If...然后。。。。Elseif....还。。。。结束条件
- 指导案例
- 回圈 while,直到
- 循环 ...下一个
- 说明 break the loop(exit)
字串
- 组合字串 (连线)
- 转换为其他类型 - 隐式和显式
- 处理字串的功能
Visual Basic
- 下载资料并将其上传到电子表格(储存格、范围)
- 下载资料并将其上传到使用者(InputBox、MsgBox)
- 变数的声明
- 变数的范围和生命周期
- 运算元及其优先顺序
- 选项模组
- 创建您自己的函数并在工作表中使用它们
- 物件、类、方法和属性
- 保护代码
- 安全码篡改和预览
调试
- 加工步骤
- Locals 视窗
- 即时视窗
- 陷阱 - 手表
- 调用堆叠
错误处理
- 错误类型和避免方法
- 捕获和处理运行时错误
- 结构:错误时 Resume Next、错误 GoTo 标签时、错误 GoTo 0 时
Excel 物件模型
- Application 物件
- Workbook 物件和 Workbooks 的集合
- Worksheet 物件和集合工作表
- 物件 ThisWorkbook, ActiveWorkbook, ActiveCell ....
- 物件选择
- Collection 系列
- 物件储存格
- 在状态列上显示数据
- 使用 ScreenUpdating 进行优化
- 通过 Timer 方法进行时间测量
外部数据源的使用
- 使用 ADO 库
- 对外部数据源的引用
- ADO 物件:
- 连接
- 命令
- 记录集
- 连接字串
- 创建与不同资料库的连接:Microsoft Access, Oracle, MySQL
报告
- SQL 语言简介 SQL 的基本结构(SELECT、UPDATE、INSERT INTO、DELETE) 从 Excel 表单调用 Microsoft Access 查询以支持资料库的使用
要求
能够使用电子表格、基础知识(参考、范围、表格等)。创建巨集 SQL 或在 VBA 中编写代码不需要任何知识。
客户评论 (7)
我最喜欢这次培训的是培训师对 Excel 的了解。我很高兴学习有用的东西,例如我可以每天使用的快捷方式和公式。
Martin
课程 - Visual Basic for Applications (VBA) for Analysts
机器翻译
The training was perfect in my opinion, opened my eyes to a lot of things that I was not aware of. Straight to the point with a lot of exercises, for some people it was too fast maybe but due to my background experience I did not feel that way.
Maen Hatoum - Red Bull GmbH
课程 - Visual Basic for Applications (VBA) for Analysts
The specialist knowledge was amazing! The way that you took that and broke it up, so we could understand was awesome. I think i just have to start with the simple stuff. the Last Subject was a bit high level and I struggled to keep up but will get there :)
Zaskia Stanz - BMW
课程 - Visual Basic for Applications (VBA) for Analysts
Detailed examples & training material.
KAREN LOUW - BMW
课程 - Visual Basic for Applications (VBA) for Analysts
He was prepared and also give good pointers
Annemarie Van Aardt - BMW
课程 - Visual Basic for Applications (VBA) for Analysts
I liked the fact that we were a small group and therefore the trainer was able to offer individual attention to each trainee.
Claire Pace
课程 - Visual Basic for Applications (VBA) for Analysts
I appreciate that the training was customized to our company's needs.