<?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 Macro (Variable retrieval in macro) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-Variable-retrieval-in-macro/m-p/518322#M193566</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to the attached file,&lt;/P&gt;&lt;P&gt;In this&amp;nbsp; I have few variables which I want to us in macro, but the macro gives an error of Object required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me out....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Nov 2013 13:10:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-11-13T13:10:23Z</dc:date>
    <item>
      <title>Macro (Variable retrieval in macro)</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-Variable-retrieval-in-macro/m-p/518322#M193566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to the attached file,&lt;/P&gt;&lt;P&gt;In this&amp;nbsp; I have few variables which I want to us in macro, but the macro gives an error of Object required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me out....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2013 13:10:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-Variable-retrieval-in-macro/m-p/518322#M193566</guid>
      <dc:creator />
      <dc:date>2013-11-13T13:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Macro (Variable retrieval in macro)</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-Variable-retrieval-in-macro/m-p/518323#M193567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nitin,&lt;/P&gt;&lt;P&gt;Check below changes and then try... Below are the all the setting you will need&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'SMTP server details&lt;/P&gt;&lt;P&gt;.Item("&lt;A href="http://schemas.microsoft.com/cdo/configuration/sendusing"&gt;http://schemas.microsoft.com/cdo/configuration/sendusing&lt;/A&gt;") = &lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;.Item("&lt;A href="http://schemas.microsoft.com/cdo/configuration/smtpserver"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserver&lt;/A&gt;") = &lt;STRONG&gt;"YOUR SMTP SERVER NAME"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;.Item("&lt;A href="http://schemas.microsoft.com/cdo/configuration/smtpserverport"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserverport&lt;/A&gt;") = &lt;STRONG&gt;25&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;.Item("&lt;A href="http://schemas.microsoft.com/cdo/configuration/smtpusessl"&gt;http://schemas.microsoft.com/cdo/configuration/smtpusessl&lt;/A&gt;") = &lt;STRONG&gt;false&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;.Item("&lt;A href="http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout"&gt;http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout&lt;/A&gt;") = &lt;STRONG&gt;120&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;objEmail.To = ActiveDocument.Variables("varTo").GetContent.String&lt;/P&gt;&lt;P&gt;objEmail.Cc = ActiveDocument.Variables("varCC").GetContent.String&lt;/P&gt;&lt;P&gt;objEmail.From = ActiveDocument.Variables("varFrom").GetContent.String &lt;EM&gt;'This could also be a variable&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;objEmail.Subject = ActiveDocument.Variables("varSubject").GetContent.String&lt;/P&gt;&lt;P&gt;objEmail.TextBody = ActiveDocument.Variables("varBody").GetContent.String&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Robinson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 08:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-Variable-retrieval-in-macro/m-p/518323#M193567</guid>
      <dc:creator />
      <dc:date>2014-01-29T08:07:44Z</dc:date>
    </item>
  </channel>
</rss>

