Write Excel Addin with VBA and then Put a button that trigger it
I have written a simple excel add-in with VBA, it contains a form and related codes. after saving it as add-in and then installing it in Excel, nothing happened! I need to put a button somewhere in ribbons that trigger my add-in, you know like "Solver". I really need it, pleas tell me how. I really appreciate any suggestions. Try this, needs to be added to your add-in, either in a module or in ThisWorkbook. Private Const Button as String = "SomeName" Sub Auto_Open 'Or Private Sub Workboo_Open() in ThisWorkbook Dim CmdBar as CommandBar Dim CmdBarMenu as CommandBarControl Dim CmdBarMenuItem as