vba调用Word对话框的代码

 
vba调用Word对话框的代码
2016-10-15 04:07:39 /故事大全

以下的代码,就是vba调用Word对话框的代码

Sub GetDialogs()

Dim i As Integer

On Error Resume Next

With Application

.ScreenUpdating = False

For i = 1 To 10000

Selection.InsertAfter "对话框" & i & ":" & .Dialogs(i).CommandName & vbCrLf

Next

.ScreenUpdating = True

End With

End Sub

所属专题:
如果您觉得本文或图片不错,请把它分享给您的朋友吧!

 
搜索
 
 
广告
 
 
广告
 
故事大全
 
版权所有- © 2012-2025 · 故事大全 SITEMAP站点地图-Foton Auman手机看故事 站点地图-Foton Auman