I sent an email using Outlook 2010 and after sending the email it was stored in the default Sent Items folder.
I would like to use VBA code to search for a string in the recently sent email and replace the string with a different string.
Can you suggest code that would do it?
myNamespace.GetDefaultFolder(olFolderSent)
Item.Body = Replace(Item.Body, "BlaBla", "Replacement text Here")
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.