Mar 14, 2001 #1 StuMunro Programmer Mar 2, 2001 29 GB I have create my own menu bar for my Acc97 application. During various stages I want to disable some of the menu items from VBA. How do you do this?
I have create my own menu bar for my Acc97 application. During various stages I want to disable some of the menu items from VBA. How do you do this?
Mar 14, 2001 1 #2 hennep Programmer Dec 10, 2000 429 In a toolbar you can enable/disable buttons with this code Dim c As Object For Each c In CommandBars("Custom 1".Controls Debug.Print c.Caption, c.Enabled c.Enabled = False Next c Upvote 0 Downvote
In a toolbar you can enable/disable buttons with this code Dim c As Object For Each c In CommandBars("Custom 1".Controls Debug.Print c.Caption, c.Enabled c.Enabled = False Next c