Outlook 2010
I can't control what the user actually types. They're using a template so if they alter it and I can't find the info they'll get irritating pop up messages, but users will do as they wish.
The BODY is something like this:
Blah blah blah blah blah several rows and returns
Title: [tab] The Title [return]
[tab] [tab] More Info
myStr using INSTR() to find "The Title"
myStr = Mid(Item.Body, a, b)
myStr might equal something like " The Title [return] [tab] "
NONE of the FOLLOWING rid me of the non-printable characters
myStr = Replace(myStr, Chr(9), "")
myStr = Replace(myStr, Chr(10), "")
myStr = Replace(myStr, Chr(13), "")
myStr = Replace(myStr, Chr(16), "")
myStr = Replace(myStr, vbLf, "")
myStr = Replace(myStr, vbCrLf, "")
myStr = Replace(myStr, vbNewLine, "")
I'm using myStr in a SQL statement.
Bookmarks