- 能够使用电子表格,基础知识(参考文献,范围,工作表等)
- VBA 创建宏或 VBA 代码不需要背景知识
观众
- 数据分析师
它是 VBA 中过程程式设计的介绍。培训可以让您为进一步的学习和 VBA 环境打下坚实的基础。
这种讲师指导的现场培训(在线或现场)面向希望使用 Excel 中的 VBA 来自动化任务的数据分析师。
在本次培训结束时,参与者将能够:
- 根据需要录制和编辑巨集。
- 使用工作表中的数据编写过程。
- 创建您自己的函数。
- 通过处理程序处理事件(打开工作表、储存格更新等)。
- 创建表单。
课程形式
- 互动讲座和讨论。
- 大量的练习和练习。
- 在即时实验室环境中动手实施。
课程自定义选项
- 要申请本课程的定制培训,请联系我们进行安排。
宏
- 录制和编辑宏
- 将宏分配给窗体、工具栏、键盘快捷键
VBA 环境
- Visual Basic 编辑器及其选项
- Management 组件
- 键盘快捷键
- 优化环境
过程编程简介
- 程序:函数子
- 数据类型
- if 语句 ...然后。。。否则如果......还。。。结束如果
- 案例陈述
- 循环 ...循环 while,直到
- 循环 ...下一个
- 指令:循环断开(退出)
- 阵列处理
带引号的字符串
- 合并带引号的字符串(串联)
- 转换为其他类型的(隐式和显式)
- 具有处理带引号的字符串的功能
Visual Basic的
- 下载数据并将其上传到电子表格(单元格、范围)
- 下载数据并将其上传到用户(InputBox、MsgBox)
- 变量的声明
- 变量的范围和生存期
- 运营商及其优先事项
- 选项模块
- 创建自己的函数并在工作表中使用它们
- 对象、类、方法和属性
- 保护代码
- 安全代码篡改和预览
调试
- 加工步骤
- “局部变量”窗口
- 即时窗口
- 陷阱 - 腕表
- 调用堆栈
错误处理
- 错误的类型和避免的方法
- 捕获和处理运行时错误
- 结构:出错时继续下一个,出错时 Go到
Excel 对象模型
- Application 对象
- Workbook 对象和 Workbooks 的集合
- Worksheet 对象和集合工作表
- 对象 ThisWorkbook、ActiveWorkbook、ActiveCell
- 对象选择
- 采集范围
- 对象单元格
- 在状态栏上显示数据
- 使用 ScreenUpdating 进行优化
- 通过定时器方法进行时间测量
VBA 中的事件处理
- 什么是事件?
- 响应事件并创建事件处理程序
- 触发事件处理程序
- 服务频繁发生的事件
VBA 表格
- 创建自己的表单
- 从代码调用表单
- 使用工作表中的表单
United Arab Emirates - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Qatar - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Egypt - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Saudi Arabia - Visual Basic for Applications (VBA) in Excel - Introduction to programming
South Africa - Visual Basic for Applications (VBA) in Excel - Introduction to programming
中国 - Visual Basic for Applications (VBA) in Excel - Introduction to programming
香港 - Visual Basic for Applications (VBA) in Excel - Introduction to programming
澳門 - Visual Basic for Applications (VBA) in Excel - Introduction to programming
台灣 - Visual Basic for Applications (VBA) in Excel - Introduction to programming
USA - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Österreich - Visual Basic für Applications (VBA) in Excel - Grundlagen
Schweiz - Visual Basic für Applications (VBA) in Excel - Grundlagen
Deutschland - Visual Basic für Applications (VBA) in Excel - Grundlagen
Czech Republic - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Denmark - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Estonia - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Finland - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Greece - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Magyarország - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Ireland - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Luxembourg - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Latvia - Visual Basic for Applications (VBA) in Excel - Introduction to programming
España - Visual Basic para Aplicaciones (VBA) en Excel - Introducción a la Programación
Italia - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Lithuania - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Nederland - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Norway - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Portugal - Visual Basic for Applications (VBA) in Excel - Introduction to programming
România - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Sverige - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Türkiye - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Malta - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Belgique - Visual Basic for Applications (VBA) in Excel - Introduction to programming
France - Visual Basic for Applications (VBA) in Excel - Introduction to programming
日本 - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Australia - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Malaysia - Visual Basic for Applications (VBA) in Excel - Introduction to programming
New Zealand - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Philippines - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Singapore - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Thailand - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Vietnam - Visual Basic for Applications (VBA) in Excel - Introduction to programming
India - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Venezuela - Visual Basic para Aplicaciones (VBA) en Excel - Introducción a la Programación
Polska - Visual Basic for Applications (VBA) w Excel - wstęp do programowania
United Kingdom - Visual Basic for Applications (VBA) in Excel - Introduction to programming
South Korea - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Pakistan - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Sri Lanka - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Bulgaria - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Bolivia - Visual Basic para Aplicaciones (VBA) en Excel - Introducción a la Programación
Indonesia - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Kazakhstan - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Moldova - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Morocco - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Tunisia - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Kuwait - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Oman - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Slovakia - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Kenya - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Nigeria - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Botswana - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Slovenia - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Croatia - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Serbia - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Bhutan - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Nepal - Visual Basic for Applications (VBA) in Excel - Introduction to programming
Uzbekistan - Visual Basic for Applications (VBA) in Excel - Introduction to programming