如何查询Excel的版本号
时间:2023-05-17 10:06:08
在Excel VBA中,如果需要查询Excel的版本号以方便用户的操作,可通过VBA查询Excel的版本号。Excel2003可通过VBA宏查询Excel的版本号。
查询Excel的版本号的方法:
首先Excel2003打开代码编辑器,单击“插入”菜单-“模块”,双击插入的模块,在右侧的代码窗口中输入:
Sub Excel_Partner()
Dim myVersion As String
Select Case Application.Version
Case "8.0"
myVersion = "97"
Case "9.0"
myVersion = "2000"
Case "10.0"
myVersion = "2002"
Case "11.0"
myVersion = "2003"
Case "12.0"
myVersion = "2007"
Case "14.0"
myVersion = "2010"
Case Else
myVersion = "未知版本"
End Select
MsgBox "Excel 版本是: " & myVersion
End Sub
按F5运行键,查询Excel的版本号,返回用户使用的Excel的版本。
标签:可通过,查询,版本,版本号,Excel函数
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
乐视体育APP怎么开通会员 乐视体育APP开通会员方法
2022-05-26 23:22:28
![](https://img.aspxhome.com/file/2023/8/a338906_0s.jpg)
Win11天选姬怎么出来 Win11天选姬打开教程
2023-09-08 09:44:23
![](https://img.aspxhome.com/file/2023/27/a236109_0s.jpg)
Win10系统关闭网络位置的小技巧
2023-01-04 12:35:55
![](https://img.aspxhome.com/file/2023/26/a227680_0s.jpg)
Word如何制作正规格式标题
2022-09-02 01:48:57
![](https://img.aspxhome.com/file/2023/8/24618_0s.png)
Word2007中编号格式的设置方法
2023-03-19 06:41:56
怎么手动关闭Win10自动更新?Win10一键关闭自动更新bat方法
2022-02-28 12:35:14
![](https://img.aspxhome.com/file/2023/26/a220317_0s.jpg)
PPT轻松制作扁平化图标
2022-11-28 15:08:51
win8/win运行大型软件时提示虚拟内存不足怎么办
2023-10-30 11:36:52
![](https://img.aspxhome.com/file/2023/29/a255296_0s.png)
win8.1系统中LOL游戏完全被隔绝不能使用的解决方法
2023-04-03 11:15:42
![](https://img.aspxhome.com/file/2023/29/a254837_0s.jpg)
配置无线路由器时无法打开登录192.168.1.1网页的解决方法
2022-09-27 04:28:35
![](https://img.aspxhome.com/file/2023/3/a300955_0s.jpg)
电脑开机老是弹出热点新闻怎么办?电脑总是弹出热点新闻处理办法
2022-04-28 22:31:45
![](https://img.aspxhome.com/file/2023/6/a322018_0s.jpg)
华硕win11忘记开机密码怎么办?
2022-08-09 03:04:35
![](https://img.aspxhome.com/file/2023/30/a268060_0s.jpg)
PowerPoint制作回字形动画效果
2023-02-21 21:05:22
![](https://img.aspxhome.com/file/2023/10/a344903_0s.png)
win10预览版9933官网下载地址 win10 9933官网下载
2023-08-17 10:50:25
![](https://img.aspxhome.com/file/2023/29/a251997_0s.png)
这10个简单实用的Word小技巧,看看你知道几个?
2023-11-11 00:45:05
![](https://img.aspxhome.com/file/2023/9/17159_0s.gif)
固态硬盘寿命有多少年_固态硬盘寿命介绍及相关问题大全
2022-10-03 21:26:13
![](https://img.aspxhome.com/file/2023/3/a295872_0s.jpg)
Win7提示无效的windows映像怎么解决?
2023-03-04 17:00:41
![](https://img.aspxhome.com/file/2023/5/a313810_0s.jpg)
WPS默认模板如何设置
2023-06-29 11:07:53
苹果新手小技巧| mac怎么快速切换或关闭应用
2022-12-29 21:54:46
![](https://img.aspxhome.com/file/2023/4/a202204_0s.png)
海康威视NVR黑屏解决方法
2023-01-23 17:25:17
![](https://img.aspxhome.com/file/2023/9/a342669_0s.png)