Prevent Outlook Adding unwanted Signatures repeatedly in VBA
<p>I want to prevent Outlook from Appending a Signature to any newly opened Outlook MailItem.  When using <code>Outlook.CreateItemFromTemplate(TemplateName)</code> a default signature is automatically appended to the new MailItem.  When working with multiple accounts attached to the Outlook Client that Signature is often unwanted, or is simply the wrong one.  To make things worse, many Outlook Methods append further duplicate copies of the unwanted signature.  It is possible to  wind up with a whole slew of them attached.</p>

<p>When opening a Template, the Signature appended is the Default for the Account that was active when TemplateName was <em>saved</em>.  It is <em>not</em> the Default for the currently active Account.  One idea is to temporarily switch off the signature for the relevant Account and add the required Signature directly as this would be a fairly simple fix for the problem.  <strong>Is there a way to switch off the signature for a specific account?  I can't find one.</strong>  </p>

<p>The signature for the Default account <strong>can</strong> be Switched off by setting
<code>appWd.EmailOptions.EmailSignature.NewMessageSignature = vbNullString</code> and it can also be restored later but this does not help.  An idea for a possible workaround was to programattically change the default account, switch off the default account's signature, open the required TemplateName and then restore everything back to the original state.  However, it doesn't work because:</p>

<ul>
<li>a) I can't find a way to switch the Default Account programattically.  It seems that this is only possible by clicking in the User Interface. </li>
<li>b) And it would make no difference, anyway, because the Signature for the
Account that saved TemplateName would be used despite the change.</li>
</ul>

<p>Underlying this requirement is the fact that I need to merge parts of existing MailItems in Outlook using VBA.  The objective is to merge parts of multiple items into a new MailItem for onward distribution to a mail list.  The merging all works effectively using <code>MailItem.GetInspector.WordEditor</code> and I have sorted out the issues related to attachments and embedded pictures but the multiple Signatures, which would seem to be such a simple matter in comparison, are causing a problem.  Is there way to switch them off? Getting rid of them in the WordEditor or in the HTML would be very difficult as Signatures have arbitrary structures.</p>