![]() Select Macros from Choose Commands from dropdown, add a New Group to Home tab then add the New Mail macro to the new group. You can create a macro for each account (change the Public Sub name) if desired. Replace Name_of_Default_Account with your account name (check in Account settings for the account name). This macro is assigned to a button on the ribbon - clicking the button selects the account listed in the code. ![]() See Using VBA Codeif you need help using VBA code. Set oMail = Application.CreateItem(olMailItem) Set olNS = Application.GetNamespace("MAPI") Text file containing both macros on this page. Click the Rename button to rename the command and choose a better looking icon. ![]() To use: Go to File, Options, Customize Ribbon.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |