Waiting for the staff's reply

Waiting for the staff's reply

Anonymous
Not applicable
359 Views
0 Replies
Message 1 of 1

Waiting for the staff's reply

Anonymous
Not applicable
What is the reason? (In Inventor Professional 2022)

In (VBA Editor F5), it runs
Doesn't run in (Customize ShortCut Key 4)
What is the reason?

 

Public Sub CollapseAll() 'Set ShortCut Key = 4
   Dim oCommandMgr As CommandManager
   Set oCommandMgr = ThisApplication.CommandManager
   Dim oControlDef As ControlDefinition
   Set oControlDef = oCommandMgr.ControlDefinitions.Item("AppBrowserCollapseAllCmd")
   Call oControlDef.Execute 
   ThisApplication.ActiveDocument.Update
End Sub

0 Likes
360 Views
0 Replies
Replies (0)