Using VBA in Outlook 2007, can someone tell me how I can code to change an en dash to a hyphen IN THE SUBJECT LINE?
I have already managed to put together code that cycles through each mailitem in a picked folder and saves each attachment using its mailitem's custom Subject line, but I need to modify the code to include changing the en dashes to hyphens.
Thanks for any help!!!
EXPLANATION:
I distributed an Acrobat form to 204 employees and used Javascript to customize the Submit button so that the subject line of each employee's RETURN email would be sorted by Lastname, Firstname in Outlook.
Some of the forms have been returned with en dashes instead of hyphens in the Subject line and, although they still sort correctly in Outlook, they don't in the hard drive's folder in which the attachments are being saved.
I have already managed to put together code that cycles through each mailitem in a picked folder and saves each attachment using its mailitem's custom Subject line, but I need to modify the code to include changing the en dashes to hyphens.
Thanks for any help!!!
EXPLANATION:
I distributed an Acrobat form to 204 employees and used Javascript to customize the Submit button so that the subject line of each employee's RETURN email would be sorted by Lastname, Firstname in Outlook.
Some of the forms have been returned with en dashes instead of hyphens in the Subject line and, although they still sort correctly in Outlook, they don't in the hard drive's folder in which the attachments are being saved.