B
Bob Stark
I want to build a command line VB application that automates the Secure Pack
plug-in, so that we don't forget that step when we revise our courseware.
From the PowerPoint menu, I issue &Tools; Secure Pac&k; SecurePack
&Wizard...
At that point, a dialog box pops up, and I click &Next; ; etc.
I have a code fragment to dump the menu out; here it is:
Dim X, Y, Z As Integer
With Application.CommandBars("Menu Bar")
For X = 1 To .Controls.Count
Debug.Print .Controls(X).Caption
Debug.Print .Controls(X).Index
For Y = 1 To .Controls(X).Controls.Count
Debug.Print vbTab & .Controls(X).Controls(Y).Caption
If Application.CommandBars("Menu
Bar").Controls(X).Controls(Y).Type = 10 Then
For Z = 1 To .Controls(X).Controls(Y).Controls.Count
Debug.Print vbTab & &
..Controls(X).Controls(Y).Controls(Z).Caption
Next Z
End If
Next Y
Next X
End With
Here is some selected output:
&Options...
SecurePac&k
&About SecurePack...
SecurePack &Wizard...
SecurePack &Configuration...
SecurePack &Help...
Sli&de Show
What method do I want to actually invoke "SecurePack &Wizard..." .Execute"?
An example would be just great.
plug-in, so that we don't forget that step when we revise our courseware.
From the PowerPoint menu, I issue &Tools; Secure Pac&k; SecurePack
&Wizard...
At that point, a dialog box pops up, and I click &Next; ; etc.
I have a code fragment to dump the menu out; here it is:
Dim X, Y, Z As Integer
With Application.CommandBars("Menu Bar")
For X = 1 To .Controls.Count
Debug.Print .Controls(X).Caption
Debug.Print .Controls(X).Index
For Y = 1 To .Controls(X).Controls.Count
Debug.Print vbTab & .Controls(X).Controls(Y).Caption
If Application.CommandBars("Menu
Bar").Controls(X).Controls(Y).Type = 10 Then
For Z = 1 To .Controls(X).Controls(Y).Controls.Count
Debug.Print vbTab & &
..Controls(X).Controls(Y).Controls(Z).Caption
Next Z
End If
Next Y
Next X
End With
Here is some selected output:
&Options...
SecurePac&k
&About SecurePack...
SecurePack &Wizard...
SecurePack &Configuration...
SecurePack &Help...
Sli&de Show
What method do I want to actually invoke "SecurePack &Wizard..." .Execute"?
An example would be just great.