Message 1 of 3
Override DisabledCommandTypes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I have this code which disables all Commands that can affect the geometry of the model, including running macros. I would like to be able to run macros while all other commands are disabled, so the question is if there is any way to override the disabledcommandtypes to enable running of macros while all other commands in "kEditMaskCmdType" are disabled?
/Lars
Sub Noneditble() Dim oDoc As Document Set oDoc = ThisApplication.activedocument oDoc.DisabledCommandTypes = kEditMaskCmdType End Sub