troubleshooting Question

Locating text in one field and copying it to another field

Avatar of John Sheehy
John SheehyFlag for United States of America asked on
Microsoft AccessVBA
8 Comments1 Solution12 ViewsLast Modified:
I get a lot of Data Loss emails 100-200 a day.  I don't have the time to read every one of them everyday.  (It seems like a lot, but we are tracking everything anybody sends outside of the network that have keywords in the email, and I get them all for only one site right now)  

So I set it up that when I receive an email it is automatically added to the access table DLP_Emails.  This works great copies all the details I need.

However, the message body can be a bit lengthy.

Is there a way in VBA to look at that field, go nine lines down and look to the right 19 characters and copy everything after that (to the right) to it's own field?.


Join our community to see this answer!
Unlock 1 Answer and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros