<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Add signature to your automated emails	</title>
	<atom:link href="https://simpleexcelvba.com/add-signature-to-your-automated-emails/feed/" rel="self" type="application/rss+xml" />
	<link>https://simpleexcelvba.com/add-signature-to-your-automated-emails/</link>
	<description>Make your office life easier with simple and fast Excel VBA solutions.</description>
	<lastBuildDate>Wed, 06 Dec 2023 13:12:57 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Tomasz Płociński		</title>
		<link>https://simpleexcelvba.com/add-signature-to-your-automated-emails/#comment-26777</link>

		<dc:creator><![CDATA[Tomasz Płociński]]></dc:creator>
		<pubDate>Wed, 06 Dec 2023 13:12:57 +0000</pubDate>
		<guid isPermaLink="false">https://simpleexcelvba.com/?p=1174#comment-26777</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://simpleexcelvba.com/add-signature-to-your-automated-emails/#comment-26765&quot;&gt;Mike B&lt;/a&gt;.

Yes, images should copy too.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://simpleexcelvba.com/add-signature-to-your-automated-emails/#comment-26765">Mike B</a>.</p>
<p>Yes, images should copy too.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mike B		</title>
		<link>https://simpleexcelvba.com/add-signature-to-your-automated-emails/#comment-26765</link>

		<dc:creator><![CDATA[Mike B]]></dc:creator>
		<pubDate>Tue, 05 Sep 2023 06:50:43 +0000</pubDate>
		<guid isPermaLink="false">https://simpleexcelvba.com/?p=1174#comment-26765</guid>

					<description><![CDATA[Hi Tomasz.
I&#039;m thinking from your responses that Option 3 does not work with images so will be going with option 1 as you have suggested to others. I took it that if I had an image in the word document that this should work? However I see to only get the text to come into my email.

Should I expect that images can work with this method?

Thanks
Mike]]></description>
			<content:encoded><![CDATA[<p>Hi Tomasz.<br />
I&#8217;m thinking from your responses that Option 3 does not work with images so will be going with option 1 as you have suggested to others. I took it that if I had an image in the word document that this should work? However I see to only get the text to come into my email.</p>
<p>Should I expect that images can work with this method?</p>
<p>Thanks<br />
Mike</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Harm		</title>
		<link>https://simpleexcelvba.com/add-signature-to-your-automated-emails/#comment-26752</link>

		<dc:creator><![CDATA[Harm]]></dc:creator>
		<pubDate>Thu, 06 Jul 2023 08:40:08 +0000</pubDate>
		<guid isPermaLink="false">https://simpleexcelvba.com/?p=1174#comment-26752</guid>

					<description><![CDATA[I found a way to make the images work in option 3, by adding the path to ‘src=’:

Sub SendEmails()
    Dim OutlookObj As Object
    Dim MailObj As Object
    Dim Path As String, FName As String, Signature As String
    Path = Environ(&quot;appdata&quot;) &#038; &quot;\Microsoft\Signatures\&quot;
    If Dir(Path, vbDirectory)  vbNullString Then
        FName = Path &#038; Dir$(Path &#038; &quot;*.htm&quot;)
    Else
        FName = &quot;&quot;
    End If
    Signature = CreateObject(&quot;Scripting.FileSystemObject&quot;).GetFile(FName).OpenAsTextStream(1, -2).ReadAll
    Signature = Replace(Signature, &quot;src=&quot;&quot;&quot;, &quot;src=&quot;&quot;&quot; &#038; Path)
    Set OutlookObj = CreateObject(&quot;Outlook.Application&quot;)
    Set MailObj = OutlookObj.CreateItem(0)
    With MailObj
.Display
        .To = ThisWorkbook.Sheets(1).Range(&quot;A1&quot;).Value2
        .Subject = &quot;Test subject&quot;
        .HTMLBody = &quot;Test content&quot; &#038; Signature
    End With
End Sub]]></description>
			<content:encoded><![CDATA[<p>I found a way to make the images work in option 3, by adding the path to ‘src=’:</p>
<p>Sub SendEmails()<br />
    Dim OutlookObj As Object<br />
    Dim MailObj As Object<br />
    Dim Path As String, FName As String, Signature As String<br />
    Path = Environ(&#8220;appdata&#8221;) &amp; &#8220;\Microsoft\Signatures\&#8221;<br />
    If Dir(Path, vbDirectory)  vbNullString Then<br />
        FName = Path &amp; Dir$(Path &amp; &#8220;*.htm&#8221;)<br />
    Else<br />
        FName = &#8220;&#8221;<br />
    End If<br />
    Signature = CreateObject(&#8220;Scripting.FileSystemObject&#8221;).GetFile(FName).OpenAsTextStream(1, -2).ReadAll<br />
    Signature = Replace(Signature, &#8220;src=&#8221;&#8221;&#8221;, &#8220;src=&#8221;&#8221;&#8221; &amp; Path)<br />
    Set OutlookObj = CreateObject(&#8220;Outlook.Application&#8221;)<br />
    Set MailObj = OutlookObj.CreateItem(0)<br />
    With MailObj<br />
.Display<br />
        .To = ThisWorkbook.Sheets(1).Range(&#8220;A1&#8221;).Value2<br />
        .Subject = &#8220;Test subject&#8221;<br />
        .HTMLBody = &#8220;Test content&#8221; &amp; Signature<br />
    End With<br />
End Sub</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Tomasz Płociński		</title>
		<link>https://simpleexcelvba.com/add-signature-to-your-automated-emails/#comment-26651</link>

		<dc:creator><![CDATA[Tomasz Płociński]]></dc:creator>
		<pubDate>Wed, 22 Feb 2023 08:30:32 +0000</pubDate>
		<guid isPermaLink="false">https://simpleexcelvba.com/?p=1174#comment-26651</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://simpleexcelvba.com/add-signature-to-your-automated-emails/#comment-26649&quot;&gt;Jonathan Martynenko&lt;/a&gt;.

Hello
Have You tried the 1st &amp; 2nd option from article? :)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://simpleexcelvba.com/add-signature-to-your-automated-emails/#comment-26649">Jonathan Martynenko</a>.</p>
<p>Hello<br />
Have You tried the 1st &#038; 2nd option from article? 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jonathan Martynenko		</title>
		<link>https://simpleexcelvba.com/add-signature-to-your-automated-emails/#comment-26650</link>

		<dc:creator><![CDATA[Jonathan Martynenko]]></dc:creator>
		<pubDate>Tue, 21 Feb 2023 18:57:56 +0000</pubDate>
		<guid isPermaLink="false">https://simpleexcelvba.com/?p=1174#comment-26650</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://simpleexcelvba.com/add-signature-to-your-automated-emails/#comment-18116&quot;&gt;Jim&lt;/a&gt;.

Any update on how you got the images to work?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://simpleexcelvba.com/add-signature-to-your-automated-emails/#comment-18116">Jim</a>.</p>
<p>Any update on how you got the images to work?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jonathan Martynenko		</title>
		<link>https://simpleexcelvba.com/add-signature-to-your-automated-emails/#comment-26649</link>

		<dc:creator><![CDATA[Jonathan Martynenko]]></dc:creator>
		<pubDate>Tue, 21 Feb 2023 18:55:57 +0000</pubDate>
		<guid isPermaLink="false">https://simpleexcelvba.com/?p=1174#comment-26649</guid>

					<description><![CDATA[Any update on how to get signature with images working? I have the same issue.]]></description>
			<content:encoded><![CDATA[<p>Any update on how to get signature with images working? I have the same issue.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
