Change subject line of external software using outlook.

Not open for further replies.


Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
Hi all,

please help me with that one..

I have an external software that I use in order to generate PDF files.

the software using Outlook in order the send those file (as an attachments).

the problem is that the software also determine the subject line, is there a macro that i can use in order to choose the subject line my self?


Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
Try the macro at Add attachments and set email fields during a mail merge to email. Change the fields - use .subject = "new subject" or use an inputbox to type something and then use .subject = strSubject:

Dim strSubject As String

strSubject = InputBox("Enter the subject")

Item.subject = strSubject

(remove the with /end with block if you are only changing the subject)

I have not tested using an inputbox this way so it might not work. See add a keyword for an inputbox in action if you don't know how to use them.
Not open for further replies.