Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dim oMenu As CommandBarPopup
Dim oItem As CommandBarPopup
Dim oSub1 As CommandBarButton
Dim oSub2 As CommandBarButton
CommandBars("worksheet menu bar").Reset
Set oMenu = CommandBars("Worksheet Menu Bar") _
.Controls("Tools")
Set oItem = oMenu.Controls.Add(Type:=msoControlPopup)
oItem.Caption = "ADScript"
' ADScript is the sub menu item under TOOLS
Set oSub1 = oItem.Controls.Add(Type:=msoControlButton)
oSub1.Caption = "3 Column Number to 1 Column"
oSub1.OnAction = "formatnumber"
' formatnumber is a sub module
Set oSub2 = oItem.Controls.Add(Type:=msoControlButton)
oSub2.Caption = "Insert Blank Lines"
oSub2.OnAction = "blankspc"
' blankspc is a submodule