This code adds allows you to add menu item's on your form while you are running it(runtime :)...
Assumes
'Goto the menu Editor!
'Add a menu, and a submenu.
'Name the submenu: 'mnuTest' and set its index property to '0' <- Important!
'Then you click OK!:)
'Add a Command Button, named Command1... and paste my code into it, and