<?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 Create excel files &amp; emails in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-excel-files-emails/m-p/1032794#M348502</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Given below attachment excel file has 5 BM's client data with BM email addresses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First requirement: create excel files as per BM in define location for eg: c:\BM\06-01-16\ B-1.xlsx B-2.xlsx ...........so on.&lt;/P&gt;&lt;P&gt;Second requirement:&amp;nbsp; email particular BM &lt;SPAN style="font-size: 13.3333px;"&gt;excel file&lt;/SPAN&gt; to given email address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly guide me how to achieve above requirement&amp;nbsp; through macro or else, without nprinting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Zain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jan 2016 06:12:33 GMT</pubDate>
    <dc:creator>zain16nib</dc:creator>
    <dc:date>2016-01-06T06:12:33Z</dc:date>
    <item>
      <title>Create excel files &amp; emails</title>
      <link>https://community.qlik.com/t5/QlikView/Create-excel-files-emails/m-p/1032794#M348502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Given below attachment excel file has 5 BM's client data with BM email addresses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First requirement: create excel files as per BM in define location for eg: c:\BM\06-01-16\ B-1.xlsx B-2.xlsx ...........so on.&lt;/P&gt;&lt;P&gt;Second requirement:&amp;nbsp; email particular BM &lt;SPAN style="font-size: 13.3333px;"&gt;excel file&lt;/SPAN&gt; to given email address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly guide me how to achieve above requirement&amp;nbsp; through macro or else, without nprinting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Zain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 06:12:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-excel-files-emails/m-p/1032794#M348502</guid>
      <dc:creator>zain16nib</dc:creator>
      <dc:date>2016-01-06T06:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Create excel files &amp; emails</title>
      <link>https://community.qlik.com/t5/QlikView/Create-excel-files-emails/m-p/1032795#M348503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For loading data from excel file:&lt;/P&gt;&lt;P&gt;Exemple...&lt;/P&gt;&lt;P&gt;[B1]:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Client_Code,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BM_Code,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BM_EMAIL,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Amt&lt;/P&gt;&lt;P&gt;FROM &lt;C&gt; (ooxml, embedded labels, table is Sheet1)&lt;/C&gt;&lt;/P&gt;&lt;P&gt;Where BM_Code = 'B-1';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;===================================================================&lt;/P&gt;&lt;P&gt;For exporting to xlsx:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;See this post: &lt;/SPAN&gt;&lt;A _jive_internal="true" data-containerid="2051" data-containertype="14" data-objectid="306571" data-objecttype="2" href="https://community.qlik.com/message/306571#306571" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7;"&gt;Re: QV to excel 2010?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;===================================================================&lt;/P&gt;&lt;P&gt;For sending emails use this macro (gmail):&lt;/P&gt;&lt;P&gt;Sub SendGMail() &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'strDate = Year(Date()) &amp;amp;"-"&amp;amp; month(date()) &amp;amp;"-"&amp;amp; Day(Date())&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;folderAttach1 = trim("C:\yourFolder\B1.xlsx")&lt;/P&gt;&lt;P&gt;folderAttach2 = &lt;SPAN style="font-size: 13.3333px;"&gt;trim("C:\yourFolder\B2.xlsx")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set objMsg = CreateObject("CDO.Message") &lt;/P&gt;&lt;P&gt;Set msgConf = CreateObject("CDO.Configuration") &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Server Configuration &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;'msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpserver" rel="nofollow"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserver&lt;/A&gt;&lt;SPAN&gt;") = "smtp.gmail.com" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;'msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpserverport" rel="nofollow"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserverport&lt;/A&gt;&lt;SPAN&gt;") = 465&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/sendusing" rel="nofollow"&gt;http://schemas.microsoft.com/cdo/configuration/sendusing&lt;/A&gt;&lt;SPAN&gt;") = 2 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpserver" rel="nofollow"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserver&lt;/A&gt;&lt;SPAN&gt;") = "smtp.gmail.com" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpserverport" rel="nofollow"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserverport&lt;/A&gt;&lt;SPAN&gt;") = 465&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpauthenticate" rel="nofollow"&gt;http://schemas.microsoft.com/cdo/configuration/smtpauthenticate&lt;/A&gt;&lt;SPAN&gt;") = 1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/sendusername" rel="nofollow"&gt;http://schemas.microsoft.com/cdo/configuration/sendusername&lt;/A&gt;&lt;SPAN&gt;") = "user" 'type your mail id&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/sendpassword" rel="nofollow"&gt;http://schemas.microsoft.com/cdo/configuration/sendpassword&lt;/A&gt;&lt;SPAN&gt;") = "password" 'Type your acccount Password&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpusessl" rel="nofollow"&gt;http://schemas.microsoft.com/cdo/configuration/smtpusessl&lt;/A&gt;&lt;SPAN&gt;") = 1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;msgConf.Fields.Update &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;objMsg.To = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:fernando.martinig@gmail.com"&gt;fernando.martinig@gmail.com&lt;/A&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:fernando.martini@divinaprovidencia.org.br"&gt;fernando.martini@divinaprovidencia.org.br&lt;/A&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:raul.weber@divinaprovidencia.org.br"&gt;raul.weber@divinaprovidencia.org.br&lt;/A&gt;&lt;SPAN&gt;" ' type to mail id&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;objMsg.From = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:youremail@gmail.com"&gt;youremail@gmail.com&lt;/A&gt;&lt;SPAN&gt;" 'type from mail id&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;objMsg.Subject = "Teste Envio Automatico BI" &lt;/P&gt;&lt;P&gt;objMsg.HTMLBody = "Texto do email" &lt;/P&gt;&lt;P&gt;objMsg.AddAttachment&amp;nbsp;&amp;nbsp; folderAttach1&lt;/P&gt;&lt;P&gt;objMsg.AddAttachment&amp;nbsp;&amp;nbsp; folderAttach2&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Attachement object&lt;/P&gt;&lt;P&gt;objMsg.Sender = "Qlikview" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set objMsg.Configuration = msgConf &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;' Send &lt;/P&gt;&lt;P&gt;objMsg.Send &lt;/P&gt;&lt;P&gt;'Msgbox("Email send ok")&lt;/P&gt;&lt;P&gt;' Clear &lt;/P&gt;&lt;P&gt;Set objMsg = nothing &lt;/P&gt;&lt;P&gt;Set msgConf = nothing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'&amp;nbsp;&amp;nbsp; ActiveDocument.Save&lt;/P&gt;&lt;P&gt;'&amp;nbsp;&amp;nbsp; Application.Quit&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 11:25:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-excel-files-emails/m-p/1032795#M348503</guid>
      <dc:creator />
      <dc:date>2016-01-06T11:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Create excel files &amp; emails</title>
      <link>https://community.qlik.com/t5/QlikView/Create-excel-files-emails/m-p/1032796#M348504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Fernando,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want macro to create automatically excel files group by BM-code. so my question is where i define loop and where clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and some for the email. how we pick file and send to BM as defined email.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;flow is&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;loop fetch &lt;/P&gt;&lt;P&gt;pick automatically BM-1 data from object, create excel file and sent to BM-1,&lt;/P&gt;&lt;P&gt;pick automatically BM-2 data form object, create excel file and sent to BM-2&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;pick automatically BM-3 data form object, create excel file and sent to BM-3 and so on.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;end loop&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;i want macro or other solution for it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Zain.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 11:44:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-excel-files-emails/m-p/1032796#M348504</guid>
      <dc:creator>zain16nib</dc:creator>
      <dc:date>2016-01-06T11:44:09Z</dc:date>
    </item>
  </channel>
</rss>

