Excel 2013调用VBA的方法
时间:2023-10-30 13:51:22
Excel是我们经常使用的办公软件;可是Excel 2013怎么调用VBA呢?下面小编将为大家带来Excel 2013调用VBA的方法;希望能够帮助到大家 ,有需要的朋友一起去看看吧
我们打开Excel 2013,在默认状态下是看不到的VBA的开发工具及编辑器的。需要调用出来。
方法一:
1、我们打开Excel 2013,在默认菜单栏如下图。。
点“文件”。
2、点“选项”。
3、点“自定义功能区”,如下图。
把“开发工具”前面的打上√,如下图。
4、菜单栏上面多了一个“开发工具”菜单栏,如下图。
点“开发工具”。
再点“Visual Basic”。
5、在“sheet1”上面鼠标右键,如下图。
点“插入”
再点“模块”
6、可以再后面的模块1里面写代码了。
写好的代码,按F5可以执行,如下图。
方法二:
1、我们打开Excel 2013,在sheet1上鼠标右键,点“查看代码”,如下图。
2、
同方法1的步骤5一样
3、
同方法1的步骤6一样
方法三:
1、快捷键:按键盘上的alt+F11
2、
同方法1的步骤5一样
3、
同方法1的步骤6一样
注意事项:
方法1可以将“开发工具”在菜单栏显示
方法2和方法3不能将“开发工具”在菜单栏显示
标签:Excel2013,VBA
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
如何使用PDF Expert工具自定义工具栏?
2023-07-11 16:20:50
![](https://img.aspxhome.com/file/2023/3/a206443_0s.jpeg)
Win11怎么关闭蓝牙耳机AAC?Win11关闭蓝牙耳机AAC的方法
2022-07-08 01:48:44
![](https://img.aspxhome.com/file/2023/1/a273194_0s.jpg)
Win10系统打开文件提示“Windows无法打开此类型文件”怎么办?
2023-11-19 13:49:54
![](https://img.aspxhome.com/file/2023/1/a281959_0s.jpg)
Win10电脑一右键就转圈圈解放方法
2023-04-06 03:57:22
![](https://img.aspxhome.com/file/2023/1/a279293_0s.jpg)
Win10系统安装Win7双系统后启动没有引导菜单怎么办?
2022-08-07 16:14:42
![](https://img.aspxhome.com/file/2023/26/a221970_0s.jpg)
win7系统快速打开命令提示符窗口的两种方法
2022-02-27 20:12:53
![](https://img.aspxhome.com/file/2023/29/a256302_0s.jpg)
电脑中应用程序被打开时提示0xc0000005错误代码怎么办?
2022-12-10 13:58:42
![](https://img.aspxhome.com/file/2023/2/a287507_0s.png)
Win10如何使用禁用cleartype以清晰地显示屏幕内容
2022-11-20 22:17:43
![](https://img.aspxhome.com/file/2023/29/a251905_0s.jpg)
win10系统城堡破坏者总掉线怎么处理
2022-12-15 23:18:40
![](https://img.aspxhome.com/file/2023/4/a303394_0s.png)
WPS文字中用制表位把目录瞬间变整齐详细方法(图文教程)
2023-04-03 17:09:49
![](https://img.aspxhome.com/file/2023/7/a167157_0s.jpg)
Win7不会安装驱动怎么办?Win7安装驱动教程
2023-05-28 10:52:32
![](https://img.aspxhome.com/file/2023/1/a281319_0s.png)
怎么远程给别人重装系统Win10?远程重装系统怎么操作?
2023-11-26 14:02:08
![](https://img.aspxhome.com/file/2023/26/a219417_0s.png)
Win10创建新用户的操作方法
2022-05-21 12:25:19
![](https://img.aspxhome.com/file/2023/26/a227434_0s.jpg)
Win7电脑c盘空间越来越小怎么办?
2022-06-13 00:46:03
![](https://img.aspxhome.com/file/2023/26/a229123_0s.png)
如何解决word的“无法注册这篇文档”
2022-02-19 19:25:16
excel中求和方法
2022-10-27 08:11:32
win7硬件加速在哪里?win7电脑硬件加上怎么开启?
2022-04-30 19:53:52
![](https://img.aspxhome.com/file/2023/1/a271990_0s.png)
2003excel表格固定表头
2022-09-02 06:57:39
怎样快速查找微信群中的图片和视频?
2023-12-24 10:52:51
![](https://img.aspxhome.com/file/2023/9/a343453_0s.jpg)
办公常用的Excel技巧,太实用了
2022-04-13 16:51:07
![](https://img.aspxhome.com/file/2023/7/39117_0s.gif)