<?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: Macro to save a file in multiple folders in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-to-save-a-file-in-multiple-folders/m-p/1036111#M639474</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Save the file once, then copy it to the other folders. Search the internet for vbscript code using the FileSystemObject to copy files. See for example: &lt;A href="https://msdn.microsoft.com/en-us/library/e1wf9e7w(v=vs.84).aspx" title="https://msdn.microsoft.com/en-us/library/e1wf9e7w(v=vs.84).aspx"&gt;CopyFile Method&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Apr 2016 11:26:34 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2016-04-01T11:26:34Z</dc:date>
    <item>
      <title>Macro to save a file in multiple folders</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-save-a-file-in-multiple-folders/m-p/1036110#M639473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I have a problem with macros. Is there a way to cycle saving a file into several folders?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example, I have to save the "abcd.xlsx" file in all folders of&amp;nbsp; --&amp;gt;&amp;nbsp; ..\MyFolders\data\*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is one type of&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; For Each ... DirList &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;loop&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; or something like that?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 10:36:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-save-a-file-in-multiple-folders/m-p/1036110#M639473</guid>
      <dc:creator />
      <dc:date>2016-04-01T10:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to save a file in multiple folders</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-save-a-file-in-multiple-folders/m-p/1036111#M639474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Save the file once, then copy it to the other folders. Search the internet for vbscript code using the FileSystemObject to copy files. See for example: &lt;A href="https://msdn.microsoft.com/en-us/library/e1wf9e7w(v=vs.84).aspx" title="https://msdn.microsoft.com/en-us/library/e1wf9e7w(v=vs.84).aspx"&gt;CopyFile Method&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 11:26:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-save-a-file-in-multiple-folders/m-p/1036111#M639474</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-04-01T11:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to save a file in multiple folders</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-save-a-file-in-multiple-folders/m-p/1036112#M639475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used these commands:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sub Multicopy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;FileSystemObject.CopyFile&amp;nbsp; dir_path&amp;amp;"MyFolders\data\Uno\abcd.xlsx",&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;dir_path&amp;amp;"MyFolders\data\&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the macro does not work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 13:26:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-save-a-file-in-multiple-folders/m-p/1036112#M639475</guid>
      <dc:creator />
      <dc:date>2016-04-01T13:26:13Z</dc:date>
    </item>
  </channel>
</rss>

