获取当前的Excel版本内置的工具栏的名称和类型
2016-12-07 10:43
363 查看
获取当前的Excel版本内置的工具栏的名称和类型
Dim oCmdBar As CommandBar
Dim i, temp
[a1:c1] = Array("在集合中引用的名称", "当前系统的菜单名称", "类型")
i = 2
For Each oCmdBar In Application.CommandBars
Select Case oCmdBar.Type
Case 0
temp = "msoBarTypeNormal"
Case 1
temp = "msoBarTypeMenuBar"
Case 2
temp = "msoBarTypePopup"
End Select
Cells(i, 1) = oCmdBar.Name
Cells(i, 2) = oCmdBar.NameLocal
Cells(i, 3) = temp
i = i + 1
Next
相关文章推荐
- android获取当前软件版本号和版本名称
- 获取当前应用的版本名称和版本号
- 获取当前的版本代码和版本名称
- Android Studio获取当前软件的版本号(versionCode)和版本名称(versionName)
- android 获取当前app的版本号和版本名称
- Android 获取当前应用版本名称
- Swift获取当前项目工程的名称版本等信息
- Android_获取当前的版本号和版本名称,获取SIM卡的信息
- javascript获取当前游览器的类型版本
- VC/MFC程序中获取当前Windows操作系统版本名称(2016-04-25修改)
- iOS 获取当前APP名称版本手机型号
- js获取当前浏览器类型 和IE浏览器版本
- 通过广播方式获取当前网络类型,如果是Wifi,获取对应的信息(附加有root之后可实现保存的无线网名称及密码获取)
- 【一步一步学习VBA】Excel VBA 获取当前单元格的数据类型
- [iOS]获取当前项目工程的名称版本等信息
- Android代码中获取当前应用程序的版本号、版本名称
- C#实现联系不同版本的EXCEL,excelPath是获取到的文件名称
- 《android 获取当前app的版本号和版本名称》
- 如何是用js 获取当前的浏览器版本(类型)
- 获取Excel中的Sheet的名称