01-22-2019
01:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
01-22-2019
01:20 PM
I had some trouble with the snippets above, and I was also trying to get it to work in iLogic rather than VBA. After experimenting, the following methods seem to work well for VBA and iLogic respectively:
VBA:
Sub OpenPhysicalProperties()
ThisApplication.CommandManager.ControlDefinitions.Item("AppiPropertiesWrapperCmd").Execute2 (False)
SendKeys ("{RIGHT 6}")
End Sub
iLogic
Sub OpenPhysicalProperties()
ThisApplication.CommandManager.ControlDefinitions.Item("AppiPropertiesWrapperCmd").Execute2(False)
System.Windows.Forms.SendKeys.SendWait("{RIGHT 6}")
End Sub