课程大纲
宏
-
录制和编辑宏
宏的存储位置。
将宏分配给窗体、工具栏、键盘快捷键
VBA 环境
-
Visual Basic 编辑器及其选项
键盘快捷键
优化环境
过程编程简介
-
程序:功能、子
数据类型
条件语句 If...然后。。。。否则....还。。。。结束如果
说明书案例
循环 while,直到
循环 ...下一个
指令打破循环(退出)
字符串
-
合并字符串(串联)
转换为其他类型 - 隐式和显式
功能处理字符串
Visual Basic的
-
下载数据并将其上传到电子表格(单元格、范围)
下载数据并将其上传到用户(InputBox、MsgBox)
变量的声明
变量的范围和生存期
运营商及其优先事项
选项模块
创建自己的函数并在工作表中使用它们
对象、类、方法和属性
保护代码
安全代码篡改和预览
调试
-
加工步骤
“局部变量”窗口
即时窗口
陷阱 - 腕表
调用堆栈
错误处理
-
错误的类型和避免的方法
捕获和处理运行时错误
结构:出错时恢复下一个,错误 Go 时标记,错误 Go 时至 0
Excel 对象模型
-
Application 对象
Workbook 对象和 Workbooks 的集合
Worksheet 对象和集合工作表
对象 ThisWorkbook、ActiveWorkbook、ActiveCell ....
对象选择
采集范围
对象单元格
在状态栏上显示数据
使用 ScreenUpdating 进行优化
通过定时器方法进行时间测量
使用外部数据源
-
使用 ADO 库
对外部数据源的引用
ADO 对象:
连接
命令
记录集
SQL 语言简介 SQL 的基本结构(选择、更新、插入、删除) 从 Excel 窗体调用 Microsoft Access 查询以支持使用数据库
要求
能够使用电子表格,基础知识(参考文献,范围,工作表等)。在 VBA 中创建宏、SQL 或编写代码不需要任何知识。
客户评论 (5)
培训师的灵活性。全面回答每个问题。
Krystyna Szpala - Sogecap SA Branch in Poland
课程 - 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