<?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: export and import sheets using macros via email in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/export-and-import-sheets-using-macros-via-email/m-p/721007#M258950</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ravindra ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you get the solution? if yes, can you post or explain the solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Dec 2016 17:52:05 GMT</pubDate>
    <dc:creator>deepakkrish</dc:creator>
    <dc:date>2016-12-07T17:52:05Z</dc:date>
    <item>
      <title>export and import sheets using macros via email</title>
      <link>https://community.qlik.com/t5/QlikView/export-and-import-sheets-using-macros-via-email/m-p/721006#M258949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all ,&lt;/P&gt;&lt;P&gt;present we are using some macro expression using this we are sending sheets&amp;amp; sheet objects&amp;nbsp; to user mails but in those sheets&amp;amp; sheet object we are not finding the sheet object title and sheet title name ,&lt;/P&gt;&lt;P&gt;user need to see the sheet object title name and sheet title name.&lt;/P&gt;&lt;P&gt;2nd requierment: using below code we are sending only entire one sheet and one sheet objct, we need to send more sheets and monre sheet objects using one button...&lt;/P&gt;&lt;P&gt;please help me how to approach to this.&lt;/P&gt;&lt;P&gt;please find the below code, using this we are export the data via emal.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sub ExportEmail&lt;BR /&gt;set obj=ActiveDocument.GetSheetByID("SH01") &lt;BR /&gt;set obje = ActiveDocument.GetSheetObject("CH01")&lt;BR /&gt;obj.ExportBitmapToFile "C:\\...\textimage.jpg" &lt;BR /&gt;obje.ExportBitmapToFile "C:\\..\textimage1.jpg"&lt;BR /&gt;MsgBox "Exported"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'End Sub &lt;BR /&gt;'//Object creation &lt;BR /&gt;Set objMsg = CreateObject("CDO.Message") &lt;BR /&gt;Set msgConf = CreateObject("CDO.Configuration")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'// Server Configuration &lt;BR /&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"&gt;http://schemas.microsoft.com/cdo/configuration/sendusing&lt;/A&gt;&lt;SPAN&gt;") = 2 &lt;/SPAN&gt;&lt;BR /&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"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserver&lt;/A&gt;&lt;SPAN&gt;") = "**.**.**.**" &lt;/SPAN&gt;&lt;BR /&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"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserverport&lt;/A&gt;&lt;SPAN&gt;") = 25 &lt;/SPAN&gt;&lt;BR /&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"&gt;http://schemas.microsoft.com/cdo/configuration/smtpauthenticate&lt;/A&gt;&lt;SPAN&gt;") = 1 &lt;/SPAN&gt;&lt;BR /&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"&gt;http://schemas.microsoft.com/cdo/configuration/sendusername&lt;/A&gt;&lt;SPAN&gt;") = "" &lt;/SPAN&gt;&lt;BR /&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"&gt;http://schemas.microsoft.com/cdo/configuration/sendpassword&lt;/A&gt;&lt;SPAN&gt;") = "" &lt;/SPAN&gt;&lt;BR /&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"&gt;http://schemas.microsoft.com/cdo/configuration/smtpusessl&lt;/A&gt;&lt;SPAN&gt;") = 1 &lt;/SPAN&gt;&lt;BR /&gt;msgConf.Fields.Update &lt;BR /&gt;' Email &lt;BR /&gt;objMsg.Subject = "Export &amp;amp; Import" &lt;BR /&gt;objMsg.To = "to mailid" &lt;BR /&gt;objMsg.From = "from maild" &lt;BR /&gt;objMsg.HTMLBody = "&amp;lt;html&amp;gt;&amp;lt;body&amp;gt;Embedded Image:&amp;lt;br&amp;gt;&amp;lt;img src=""E:\\TestImageJPG.jpg""&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;"&lt;BR /&gt;Set objMsg.Configuration = msgConf &lt;BR /&gt;' Send &lt;BR /&gt;objMsg.Send &lt;BR /&gt;Msgbox("Email Sent")&lt;BR /&gt;' Clear &lt;BR /&gt;Set objMsg = nothing &lt;BR /&gt;Set msgConf = nothing&lt;BR /&gt;End Sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 06:09:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/export-and-import-sheets-using-macros-via-email/m-p/721006#M258949</guid>
      <dc:creator>ravindraa</dc:creator>
      <dc:date>2014-07-07T06:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: export and import sheets using macros via email</title>
      <link>https://community.qlik.com/t5/QlikView/export-and-import-sheets-using-macros-via-email/m-p/721007#M258950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ravindra ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you get the solution? if yes, can you post or explain the solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 17:52:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/export-and-import-sheets-using-macros-via-email/m-p/721007#M258950</guid>
      <dc:creator>deepakkrish</dc:creator>
      <dc:date>2016-12-07T17:52:05Z</dc:date>
    </item>
  </channel>
</rss>

