there is a wizard to create a SWITCHBOARD which is a menu form, which includes command buttons to do what I think you want, all automatically. It provides for a multi-level hierarchy of menus. When you look at the code it creates you will see its not so easy to do it by hand.