Get current open draft message body from VBA

GuyCarnegie

Member
Outlook version
Outlook 2019 64-bit
Email Account
Office 365 Exchange
How do I get the currently open draft message object body from VBA?
I want to have a button on the toolbar that parses the message that a user is writing and performs an action on it.

This should be unrelated to the user "Sending" the message. ie the user can perform this action long before the message is ready for sending.
 
Similar threads
Thread starter Title Forum Replies Date
S Macro to extract email addresses of recipients in current drafted email and put into clipboard Outlook VBA and Custom Forms 2
N Having Shared Calendar shift to Current day Using Outlook 0
E Conditional formatting - when current account <> received account ? Using Outlook 3
R Error when trying to forward current email item Outlook VBA and Custom Forms 7
P Auto Insert Current Date or Time into Email Subject Outlook VBA and Custom Forms 2
R VBA for copying sent email to current folder under a shared mailbox Outlook VBA and Custom Forms 17
H Select Specific Account When Sending Email, Based on Current Folder Outlook VBA and Custom Forms 1
W Save Outlook attachment in network folder and rename to current date and time Outlook VBA and Custom Forms 18
F "This action is not available in the current mode" Using Outlook 0
J Old unread emails on current date (MDaemon Server) Using Outlook 1
P Current View Pane for Contacts missing from Outlook 2016 Using Outlook 3
T Attach Current File to a new Email Using Outlook 0
K Daily task list > show tasks on the exact due date and not on the "current date" Using Outlook 1
C Outlook VBA to set current account Outlook VBA and Custom Forms 1
J Outlook 2013 Want to file a note after filtering with search current mailbox Using Outlook 3
R Inbox search, current folder, it's in there-but not found. Using Outlook 2
C Copy Cell value from Excel and paste into current email Outlook VBA and Custom Forms 10
sjbtax Auto Create new Task upon Current Task completion Outlook VBA and Custom Forms 28
B Outlook 2007 Save Current View,Font,Toolbar Settings Using Outlook 6
M Change default Current View on People Using Outlook 1
R how to get Outlook VBA code to work on the current folder Using Outlook 3
B Outlook 2010 won't save 'current view' with reading pane at 'bottom' Using Outlook 4
C Either there is no default mail client or the current mail client cannot ... Using Outlook 1
E "Current View" settings across multiple users on same Exchange 2007 account. Using Outlook 1
E Calendar Thumbnail current day background color Using Outlook 3
G How can I identify in VBA if the current window is an item or a folder? Using Outlook 3
C Hover display of DL shows original owner, not current Using Outlook 2
B right click outlook objects in OL2010 acts on current inbox mailitem Using Outlook 6
T Outlook makes every appointment recurring and set to the current date/time Using Outlook 2
D Save Current email in Directory. Outlook VBA and Custom Forms 1
L create new mail item from current item Outlook VBA and Custom Forms 4
K insert text into current position of pointer in mailcompose Outlook VBA and Custom Forms 1
S Count of Contacts In Current View BCM (Business Contact Manager) 1
S VBA access current contact? BCM (Business Contact Manager) 1
S get current position in message body of mailitem Outlook VBA and Custom Forms 8
J Toolbar button to process current mailitem Outlook VBA and Custom Forms 1
X Re: how to access current text selection Outlook VBA and Custom Forms 1
T date/time field, current year Outlook VBA and Custom Forms 2
N Customize current view (in Account List) Business Contact Manager BCM (Business Contact Manager) 1
Q Remove filter from current view - outlook 2003 Outlook VBA and Custom Forms 4
T current cursor position in the reply event Outlook VBA and Custom Forms 1
D Re: How to specify the "current entry id" to GetItemFromID? Outlook VBA and Custom Forms 1
T Re: mailItem.HTMLBody should retrieve only current text Outlook VBA and Custom Forms 1
K Outlook font corrupted in some point sizes, resets on close/open Using Outlook 2
T Cannot open .pst file Using Outlook 2
H Finding text in open email Outlook VBA and Custom Forms 12
chummy Open multiple Hyperlinks to download files Outlook VBA and Custom Forms 3
Rupert Dragwater How to get Outlook 365 to open from websites Using Outlook 5
Witzker Outlook 2019 Edit contact from email does not open the user defined contactform Using Outlook 3
S Leaving ActiveExplorer open for editing after Sub is done Outlook VBA and Custom Forms 0

Similar threads

Back
Top