Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 05-25-2017, 04:33 AM
gmayor's Avatar
gmayor gmayor is offline Transfer Outlook TextBox Text Into Email Body Windows 10 Transfer Outlook TextBox Text Into Email Body Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,144
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

There is a line missing from the code.
Immediately after
Code:
.Show
there should be a line
Code:
If .Tag = 0 Then GoTo lbl_Exit
which will allow you to click CommandButton2 to cancel the process.

What 'button'? For running the process, create a button on the ribbon/QAT (Quick Access Toolbar) to run the macro 'ReplaceFromUserForm'
This will open the userform and allow you to enter the data, then the message is created.
You may run into problems with Outlook security - in which case see
http://www.gmayor.com/create_and_employ_a_digital_cert.htm
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Transfer Outlook TextBox Text Into Email Body Show attachments as text in body of email?? thewiseguy31 Outlook 1 07-21-2015 09:07 PM
Transfer Outlook TextBox Text Into Email Body move email based on text in email body megatronixs Outlook 3 02-10-2015 10:58 AM
Finding specific text within body of email Tammfran Outlook 0 03-14-2014 02:32 PM
add hyperlink in body of Outlook email ChuckDrago Word 0 06-27-2013 01:13 PM
Outlook not sending body of email sbertram Outlook 0 08-30-2012 11:50 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:36 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft