If you are using multiple account in Outlook, you may find yourself forgetting who you are sending from which can be confusing for your team and worst your clients. To mistake proof the send from selection Leverage & Lean has created the Outlook Select Send Using Accounts macro! This Outlook macro will look at all your available Outlook Accounts and display them in an InputBox for you to select from. To select an Outlook Account just enter the leading number into the InputBox. This Outlook macro will then adjust your Sending Using Account to reflect the selection that you have made. While you can do this with an email open it is easy to forget to make this selection. The power of this macro is that you can create custom button to prompt you prior to creating, replying or sending an email in Outlook. You can take this a step further and embed the Outlook Select Send Using Accounts macro directly into the existing Outlook New Email, Reply and Reply All and Send buttons! Checkout the Insider version of this Outlook macro if you want to control the behavior of the select accounts prompt to only display when appropriate. The Insider version of this Outlook macro will look at the current Sending Using Account and determine if it is already set in the current Outlook Item. If this is found to be True, then this Outlook Account will not display as a selection option in the InputBox. Only the Sending Using Accounts that are NOT set will display as options to switch too. This also allows you to prompt for an Outlook Account if the current Sending Using Account is not the default Outlook account. If you want to only a specific Outlook Account to be used, then this macro can be used to validate that and then immediately exit the macro.
See it in Action
Watch this video to see this macro in action.
Code
Here is the code for this macro. Make sure the following References are setup before running it: Visual Basic For Applications, Microsoft Outlook 16.0 Object Library
Insider Content
Here is the Insider code for this macro. Brief Description of differences between FREE Code and Insider Code. Make sure the following References are setup before running it: Visual Basic For Applications, Microsoft Outlook 16.0 Object Library
The Developer Tab is an additional section of the ribbon when activated allows you access to Visual Basic in Applications like Access, Excel, Outlook, PowerPoint, Word.
Setup Now
Is focused on improving computer processes by Leveraging programming and applying Lean principles. It is our goal to make you more efficient and effective on your computer producing “Less Clicks and More Results!”
In regards to Word Create Outlook Email with Selected Text | VBA Macro #29
This is so perfect!
Thank you so much!
At my job, we recently switched over to Office 365.
Previously we had an email template that we could fill out (using field codes [select all+F9]) but that is no longer available in Office 365, as only Word has the Field Code capability now.
I was trying to find some sort of solution using Word, and yours was the best thing I could find on the web!
Very straightforward!
Very appreciated!
YOU are the awesome one!
In regards to Excel Find and Replace across Multiple Word Documents | VBA Macro #30 and custom work.
The use case for CheckTheBible.com was to convert all the variations of Bible verse codes (B C:V - Book Chapter:Verse) in any text to a standardized code. For example, "John 17:21" should be "Joh 17:21." Once the variations are converted, then the next step is to convert them to a markdown language so they can be used in Obsidian.
I found Brent through his YouTube channel: Leverage & Lean (https://www.youtube.com/LeverageLean). Out of all the macro videos, the "Excel Find and Replace across Multiple Word Documents" video seemed like it could help automate a seemingly manual process.
I contacted Brent to see what could be done with my use case. From our first discussion, Brent has always been very understanding and patient with my situation and listened to my suggestions for improving the macro’s speed and efficiency.
Once he understood the end goal, Brent took my improvements to heart and ran with them. Now with this improved macro, I can take on any set of variables, modify a few words, and convert them to the final result. This custom macro searches Word Documents for Bible verse codes, uses a standardized list of 30+ thousand B C:V codes to convert to the markdown language automatically with 100% accuracy.
I have had a great experience working with Brent. Not only does he clarify expectations so it was set up for success, but most importantly, he has always come up with creative and comprehensive suggestions even outside the scope of macro building. Brent was really consulting me to do more than what I had thought possible.