<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: using macro to send email with attachments in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/using-macro-to-send-email-with-attachments/m-p/1029156#M940978</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The other option is to look at NPrinting, the desktop version can do this without the need for macros.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Feb 2016 12:28:07 GMT</pubDate>
    <dc:creator>Colin-Albert</dc:creator>
    <dc:date>2016-02-02T12:28:07Z</dc:date>
    <item>
      <title>using macro to send email with attachments</title>
      <link>https://community.qlik.com/t5/QlikView/using-macro-to-send-email-with-attachments/m-p/1029153#M940975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello everyone,&lt;/P&gt;&lt;P&gt;i am new to qlikview and i want to send &lt;SPAN style="font-size: 13.3333px;"&gt;an email&lt;/SPAN&gt; by macro function&lt;/P&gt;&lt;P&gt; with attachment of a csv file that allready exists on my computer.&lt;/P&gt;&lt;P&gt;i have a simple macro in excel and it works fine.&lt;/P&gt;&lt;P&gt;i want to call the function in the end of my qvw script.&lt;/P&gt;&lt;P&gt;here is my excel macro function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub Mail_Outlook()&lt;/P&gt;&lt;P&gt;Dim OutApp As Object&lt;/P&gt;&lt;P&gt;Dim OutMail As Object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Send Mail&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set OutApp = CreateObject("Outlook.Application")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set OutMail = OutApp.CreateItem(o)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; With OutMail&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .Subject = MailSubject&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .To = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:myname@gmail.com"&gt;myname@gmail.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .body = MailBody&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .Attachments.Add "D:\ex1.xlsx"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '.Display&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .Send&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End With&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set OutMail = Nothing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set OutApp = Nothing&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help.&lt;/P&gt;&lt;P&gt;best regards to all and thanks in advence.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 09:33:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-macro-to-send-email-with-attachments/m-p/1029153#M940975</guid>
      <dc:creator>idogridish2</dc:creator>
      <dc:date>2016-02-02T09:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: using macro to send email with attachments</title>
      <link>https://community.qlik.com/t5/QlikView/using-macro-to-send-email-with-attachments/m-p/1029154#M940976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you check this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-3772"&gt;Automated Excel Export and Email Macro&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4870"&gt;Useful Qlikview Macros&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 10:32:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-macro-to-send-email-with-attachments/m-p/1029154#M940976</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-02T10:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: using macro to send email with attachments</title>
      <link>https://community.qlik.com/t5/QlikView/using-macro-to-send-email-with-attachments/m-p/1029155#M940977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/balrajahlawat"&gt;balrajahlawat&lt;/A&gt;&lt;/STRONG&gt; yes i have checked those forums.&lt;/P&gt;&lt;P&gt;all i want is a simple code like i wrote for excel above.&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 12:26:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-macro-to-send-email-with-attachments/m-p/1029155#M940977</guid>
      <dc:creator>idogridish2</dc:creator>
      <dc:date>2016-02-02T12:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: using macro to send email with attachments</title>
      <link>https://community.qlik.com/t5/QlikView/using-macro-to-send-email-with-attachments/m-p/1029156#M940978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The other option is to look at NPrinting, the desktop version can do this without the need for macros.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 12:28:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-macro-to-send-email-with-attachments/m-p/1029156#M940978</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2016-02-02T12:28:07Z</dc:date>
    </item>
  </channel>
</rss>

