Delete toolbar from Menugroup

Discussion in 'AutoCAD' started by oneupthetree, Jul 21, 2004.

  1. oneupthetree

    oneupthetree Guest

    Is it possible to delete a toolbar from an AcadMenuGroup using VBA? If so, how?
     
    oneupthetree, Jul 21, 2004
    #1
  2. Something like this:

    Code:
    
    ThisDrawing.Application.MenuGroups.Item("Your Menu").Toolbars.Item("Your toolbar").Visible = False
    ThisDrawing.Application.MenuGroups.Item("Your Menu").Toolbars.Item("Your toolbar").Delete
    
    
    Regards - Nathan
     
    Nathan Taylor, Jul 22, 2004
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.