<?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: Insert text from object into email using macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Insert-text-from-object-into-email-using-macro/m-p/1323597#M839643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This might help you out:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SUB ExcelFile&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; SET val = ActiveDocument.Fields("To").GetPossibleValues()&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; vTO = "" &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; FOR i = 0 to val.Count-1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; vTO = vTO &amp;amp; ", " &amp;amp; val.Item(i).Text&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; NEXT&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;...&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;END SUB&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FUNCTION send_report (vTO, vCC, reportFile, vName)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;...&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;objEmail.To = vTO &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;objEmail.TextBody = "" &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;EM&gt;END FUNCTION&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could pass variable Page into &lt;EM style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;objEmail.TextBody&lt;/STRONG&gt;&lt;/EM&gt;. Like an example of variable vTO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 May 2017 09:10:49 GMT</pubDate>
    <dc:creator>MindaugasBacius</dc:creator>
    <dc:date>2017-05-11T09:10:49Z</dc:date>
    <item>
      <title>Insert text from object into email using macro</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-text-from-object-into-email-using-macro/m-p/1323596#M839642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a macro set up that saves objects in my application as images and then sends them in an email. At the bottom of the email I'd like to have a table that shows an object in my app as text, not as an image. I've attached an image of the object that I want formatted as a text table as well as a doc with the module script I have so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason I need it as text is because the audience may want to copy/paste the URLs in the table into their browser, and that's not possible when attached as an image obviously. Can anyone help? BTW I have no experience with HTML, I just pieced together some code and applied it to my own app to get what I have currently, so please be patient with me &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-text-from-object-into-email-using-macro/m-p/1323596#M839642</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Insert text from object into email using macro</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-text-from-object-into-email-using-macro/m-p/1323597#M839643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This might help you out:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SUB ExcelFile&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; SET val = ActiveDocument.Fields("To").GetPossibleValues()&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; vTO = "" &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; FOR i = 0 to val.Count-1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; vTO = vTO &amp;amp; ", " &amp;amp; val.Item(i).Text&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; NEXT&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;...&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;END SUB&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FUNCTION send_report (vTO, vCC, reportFile, vName)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;...&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;objEmail.To = vTO &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;objEmail.TextBody = "" &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;EM&gt;END FUNCTION&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could pass variable Page into &lt;EM style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;objEmail.TextBody&lt;/STRONG&gt;&lt;/EM&gt;. Like an example of variable vTO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 09:10:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-text-from-object-into-email-using-macro/m-p/1323597#M839643</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2017-05-11T09:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Insert text from object into email using macro</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-text-from-object-into-email-using-macro/m-p/1323598#M839648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I don't quite follow what your script does. I guess I should've mentioned that I don't have any experience in VB either. Does this code go inside my Sub ExportEmail or outside of it? In which part of your script should I insert the object code, for example CH16?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 16:51:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-text-from-object-into-email-using-macro/m-p/1323598#M839648</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-11T16:51:33Z</dc:date>
    </item>
  </channel>
</rss>

