<?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: copy and paste macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/copy-and-paste-macro/m-p/307044#M113435</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;That is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we provide for user chooice to select his destination i.e; not providing destination location to directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That mean a computer window should popup and user will choose his/her loaction in the local system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we provide this type of code in macro ?&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>Wed, 22 Feb 2012 11:25:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-02-22T11:25:02Z</dc:date>
    <item>
      <title>copy and paste macro</title>
      <link>https://community.qlik.com/t5/QlikView/copy-and-paste-macro/m-p/307042#M113433</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;how to write macro code for copying the images(.bmp) from one folder(source folder) and paste into another folder(destination folder).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea on this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in&amp;nbsp; advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 09:22:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/copy-and-paste-macro/m-p/307042#M113433</guid>
      <dc:creator />
      <dc:date>2012-02-22T09:22:57Z</dc:date>
    </item>
    <item>
      <title>copy and paste macro</title>
      <link>https://community.qlik.com/t5/QlikView/copy-and-paste-macro/m-p/307043#M113434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left"&gt;Const OverWrite = False&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left"&gt;Dim fso, srcFiles, destPath&lt;/P&gt;&lt;P align="left"&gt;Set fso = CreateObject("Scripting.FileSystemObject")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left"&gt;srcFiles = “c:\Test\Alarm\*.*”&lt;/P&gt;&lt;P align="left"&gt;destPath = “c:\Test\AlarmHistory”&lt;/P&gt;&lt;P align="left"&gt;If fso.FolderExists (destPath) = False Then&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fso.CreateFolder (destPath)&lt;/P&gt;&lt;P align="left"&gt;End If&lt;/P&gt;&lt;P&gt;fso.CopyFile srcFiles, destPath&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 11:10:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/copy-and-paste-macro/m-p/307043#M113434</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2012-02-22T11:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: copy and paste macro</title>
      <link>https://community.qlik.com/t5/QlikView/copy-and-paste-macro/m-p/307044#M113435</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;That is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we provide for user chooice to select his destination i.e; not providing destination location to directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That mean a computer window should popup and user will choose his/her loaction in the local system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we provide this type of code in macro ?&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>Wed, 22 Feb 2012 11:25:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/copy-and-paste-macro/m-p/307044#M113435</guid>
      <dc:creator />
      <dc:date>2012-02-22T11:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: copy and paste macro</title>
      <link>https://community.qlik.com/t5/QlikView/copy-and-paste-macro/m-p/307045#M113436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Check with attached text file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BrowseFolder("",True);&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 11:49:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/copy-and-paste-macro/m-p/307045#M113436</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-22T11:49:20Z</dc:date>
    </item>
    <item>
      <title>copy and paste macro</title>
      <link>https://community.qlik.com/t5/QlikView/copy-and-paste-macro/m-p/307046#M113437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sub pickfolder&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set objShell = CreateObject("Shell.Application")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set objFolder = objShell.BrowseForFolder(0, "Example", 1, "c:\Programs")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If objFolder Is Nothing Then&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Wscript.Quit&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgbox "folder: " &amp;amp; objFolder.title &amp;amp; " Path: " &amp;amp; objFolder.self.path&lt;BR /&gt;end sub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 11:49:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/copy-and-paste-macro/m-p/307046#M113437</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2012-02-22T11:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: copy and paste macro</title>
      <link>https://community.qlik.com/t5/QlikView/copy-and-paste-macro/m-p/307047#M113438</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;i tried below lines its working but in this code itself i am trying to provide the user selectable destination.&lt;/P&gt;&lt;P&gt;what i needs to change in below code to acheive it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub CopyPasteImages&lt;/P&gt;&lt;P&gt;Dim sOriginFolder, sDestinationFolder, oFSO &lt;/P&gt;&lt;P&gt;Set oFSO = CreateObject("Scripting.FileSystemObject")&lt;/P&gt;&lt;P&gt;Set vLensInspectionImageNames=ActiveDocument.Variables("vLensInspectionImageNames")&lt;/P&gt;&lt;P&gt;Set vImageSourcePath=ActiveDocument.Variables("vImagesLocation")&lt;/P&gt;&lt;P&gt;Set vImageDestinationPath=ActiveDocument.Variables("vImagesDestination")&lt;/P&gt;&lt;P&gt;ArrFields = split(vLensInspectionImageNames.GetContent.String, ",")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Each fIndex in ArrFields&lt;/P&gt;&lt;P&gt; sOriginFolder = vImageSourcePath.GetContent.string&amp;amp;fIndex &lt;/P&gt;&lt;P&gt; sDestinationFolder = vImageDestinationPath.GetContent.string&amp;amp;fIndex &lt;/P&gt;&lt;P&gt; if oFSO.fileExists(sOriginFolder) then &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; oFSO.CopyFile sOriginFolder, sDestinationFolder &lt;/P&gt;&lt;P&gt; end if&amp;nbsp; &lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please can you share your ideas on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 15:57:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/copy-and-paste-macro/m-p/307047#M113438</guid>
      <dc:creator />
      <dc:date>2012-02-22T15:57:37Z</dc:date>
    </item>
  </channel>
</rss>

