Thank you for sending your enquiry! One of our team members will contact you shortly.
Thank you for sending your booking! One of our team members will contact you shortly.
课程大纲
宏
- 录制和编辑宏
- 将宏分配给窗体、工具栏、键盘快捷键
VBA 环境
- Visual Basic 编辑器及其选项
- Management 组件
- 键盘快捷键
- 优化环境
过程编程简介
- 程序:函数子
- 数据类型
- if 语句 ...然后。。。否则如果......还。。。结束如果
- 案例陈述
- 循环 ...循环 while,直到
- 循环 ...下一个
- 指令:循环断开(退出)
- 阵列处理
带引号的字符串
- 合并带引号的字符串(串联)
- 转换为其他类型的(隐式和显式)
- 具有处理带引号的字符串的功能
Visual Basic的
- 下载数据并将其上传到电子表格(单元格、范围)
- 下载数据并将其上传到用户(InputBox、MsgBox)
- 变量的声明
- 变量的范围和生存期
- 运营商及其优先事项
- 选项模块
- 创建自己的函数并在工作表中使用它们
- 对象、类、方法和属性
- 保护代码
- 安全代码篡改和预览
调试
- 加工步骤
- “局部变量”窗口
- 即时窗口
- 陷阱 - 腕表
- 调用堆栈
错误处理
- 错误的类型和避免的方法
- 捕获和处理运行时错误
- 结构:出错时继续下一个,出错时 Go到
Excel 对象模型
- Application 对象
- Workbook 对象和 Workbooks 的集合
- Worksheet 对象和集合工作表
- 对象 ThisWorkbook、ActiveWorkbook、ActiveCell
- 对象选择
- 采集范围
- 对象单元格
- 在状态栏上显示数据
- 使用 ScreenUpdating 进行优化
- 通过定时器方法进行时间测量
VBA 中的事件处理
- 什么是事件?
- 响应事件并创建事件处理程序
- 触发事件处理程序
- 服务频繁发生的事件
VBA 表格
- 创建自己的表单
- 从代码调用表单
- 使用工作表中的表单
要求
- 能够使用电子表格,基础知识(参考文献,范围,工作表等)
- VBA 创建宏或 VBA 代码不需要背景知识
观众
- 数据分析师
21 小时
客户评论 (2)
A lot of exercise. Trainer doesn't need to have support for his course. He has a really great knowledge for his subject.
Quentin Demeyere
课程 - Visual Basic for Applications (VBA) in Excel - Introduction to programming
It was really nice from the trainer that he took a lot of time to answer our questions and helped us improve or gave us hints on how to improve some macros we were already using without fully understanding the code.