<?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 Relatife Path in Macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Relatife-Path-in-Macro/m-p/276083#M103014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to write relative path in Qlikview Macro? I need it because i want to overwrite an Excel file in the Qlikview Server. &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jul 2011 08:00:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-07-13T08:00:40Z</dc:date>
    <item>
      <title>Relatife Path in Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Relatife-Path-in-Macro/m-p/276083#M103014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to write relative path in Qlikview Macro? I need it because i want to overwrite an Excel file in the Qlikview Server. &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 08:00:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relatife-Path-in-Macro/m-p/276083#M103014</guid>
      <dc:creator />
      <dc:date>2011-07-13T08:00:40Z</dc:date>
    </item>
    <item>
      <title>Relatife Path in Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Relatife-Path-in-Macro/m-p/276084#M103015</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;Are you using ServerSideExportEx instead of ExportEx? That should work when referring to the drives in the Server locally. Anyway, using UNC paths are likely to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; text-decoration: underline; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 08:08:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relatife-Path-in-Macro/m-p/276084#M103015</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-07-13T08:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Relatife Path in Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Relatife-Path-in-Macro/m-p/276085#M103016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I show my code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub SaveToExcel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set v = ActiveDocument.Variables("vSubject")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; varSubject = v.GetContent.String&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set v = ActiveDocument.Variables("vBody")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; varBody = v.GetContent.String&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NewFileName = "\DataEmail.xlsx"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set XLApp = CreateObject("Excel.Application")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; XLApp.Visible = false&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set XLDoc = XLApp.Workbooks.Add&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; XLDoc.Sheets(1).Range("A1") = "Subject"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; XLDoc.Sheets(1).Range("A2") = varSubject&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; XLDoc.Sheets(1).Range("B1") = "Body"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; XLDoc.Sheets(1).Range("B2") = varBody&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; XLDoc.SaveAs NewFileName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; XLApp.Quit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox("Save is successfull")&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you show me the right code how to save with relative path in server if i want to save from another computer using browser?&lt;/P&gt;&lt;P&gt;because NewFileName = "\DataEmail.xlsx" is not the right path&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 01:43:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relatife-Path-in-Macro/m-p/276085#M103016</guid>
      <dc:creator />
      <dc:date>2011-07-14T01:43:14Z</dc:date>
    </item>
    <item>
      <title>Relatife Path in Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Relatife-Path-in-Macro/m-p/276086#M103017</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;Did you try "\\SERVER\SharedResource\File.xlsx" ? And just the file name (no folders nor drives)? I was not talking about these objects, rather than the QlikView API ones to export a chart to a file. &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;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; text-decoration: underline; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 17:48:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relatife-Path-in-Macro/m-p/276086#M103017</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-07-14T17:48:33Z</dc:date>
    </item>
  </channel>
</rss>

