email move to one folder to another folder with a specific subject
suppose if the subject has 'Jounal moved on - jul 5/10
each mail has vary after "-"
if i split the subject before "-" the subject line email does not to the folder. so i need to take the full subject line in order to move.
how do i take fullly in the subject line
thiis the code i am using
Code:objfolder2 = "po Mails" ' split the word before '-' if olMail.Subject = "Journal moved on" then ''Jounal moved on - jul 5/10' olMail. move objfolder2 end if




Reply With Quote