Try the Attached Sheet
When it will open it will ask the UserName , I have Give Two User name in Codes 1) Adam 2) Rajan After enter the Username as CommandBar will add with Different Menus Regards Rajan. From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of §»VIPER«§ Sent: Friday, July 22, 2011 9:39 AM To: excel-macros@googlegroups.com Subject: $$Excel-Macros$$ Macro needed for ms access database Hi 1. I have created a database with some custom menus. In that I am having a menu called "Manage" and I require a code which should hide the particular menu for particular users. 2. I have created a form for startup and I don’t want allow the users to close the form using the Cnrl+W. It should be always open till the database is open. I have removed the form control property close box from the form but the users are still able to close the form using Cntrl+W button. Can anyone give me the solution? -- Great day, viper -- ---------------------------------------------------------------------------- ------ Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel
Book1.xlsm
Description: application/vnd.ms-excel.sheet.macroenabled.12