
Deleting some lines from received messages
That could be tricky. You could try saving the message to a temporary file,
and then use the FileSystemObject and TextStream objects from the Scripting
Runtime Library to parse the required number of lines (ReadLine method) from
the file. Then take the text from those lines, use the Len function on it
to determine how many characters, and use that value in the Mid or Right
function on the message body, saving only the rest of the text back into the
Body property.
--
Eric Legault
gooeySoft Solutions
http://members.shaw.ca/gooeySoft
Programming, Consulting and Outlook Resources
Quote:
> I am on a listserve that has a banner on each of its plain
> text messages. I would like Outlook to delete the first 5
> lines of each new E-mail from this "person".
> Any suggestions on how I can do this with VB
> Thanks for your help
> Sincerely,
> John