<?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 About saving a file in a specified time interval in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/About-saving-a-file-in-a-specified-time-interval/m-p/235211#M86498</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;What my problem is&lt;/P&gt;&lt;P&gt;How to save a dataobject of a qlikview file at specific date and time interval in our required path that is exported in any one of the file types like(xls,txt,qvd,html,xml) from the macro throuh using buttons...&lt;/P&gt;&lt;P&gt;what the process i have done is,&lt;/P&gt;&lt;P&gt;-&amp;gt; I have a dataobject like(tablebox) , and I have buttons like("XL" , "QVD" ,"TXT" ,"HTML" , "XML" )&lt;/P&gt;&lt;P&gt;-&amp;gt;I have created macros for each and every button what i have. and the code like this&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; Sub Excel&lt;/P&gt;&lt;P&gt;set obj = ActiveDocument.GetSheetObject("TB04")&lt;BR /&gt;&lt;BR /&gt; obj.ExportBiff "D:\Kumar\New\New.xls"&lt;BR /&gt;&lt;BR /&gt; End Sub&lt;/P&gt;&lt;P&gt;Sub QVD&lt;/P&gt;&lt;P&gt;set obj = ActiveDocument.GetSheetObject("TB04")&lt;BR /&gt;&lt;BR /&gt; obj.ExportBiff "D:\Kumar\New\New.qvd"&lt;BR /&gt;&lt;BR /&gt; End Sub&lt;BR /&gt;&lt;BR /&gt; Sub XML&lt;/P&gt;&lt;P&gt;set obj = ActiveDocument.GetSheetObject("TB04")&lt;BR /&gt;&lt;BR /&gt; obj.ExportXML "D:\Kumar\New\New.xml"&lt;BR /&gt;&lt;BR /&gt; End Sub&lt;BR /&gt;&lt;BR /&gt; Sub Text&lt;BR /&gt; set obj = ActiveDocument.GetSheetObject("TB04")&lt;BR /&gt; obj.Export "D:\Kumar\New\New.txt",","&lt;BR /&gt; End Sub&lt;BR /&gt;&lt;BR /&gt; Sub HTML&lt;BR /&gt; set obj = ActiveDocument.GetSheetObject("TB04")&lt;BR /&gt; obj.ExportHTML "D:\Kumar\New\New.html"&lt;BR /&gt; End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;So, everything is working fine but what i want to do is how to save the file i ahave specified in the macro code according to the schedule like(for aparticular date and time).&lt;/P&gt;&lt;P&gt;I hope you understand my problem ,&lt;/P&gt;&lt;P&gt;If u know the solution or If u are not undersatand my problem respond me.&lt;/P&gt;&lt;P&gt;Waiting for ur response....&lt;/P&gt;&lt;P&gt;With Regards..........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Apr 2011 13:13:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-29T13:13:28Z</dc:date>
    <item>
      <title>About saving a file in a specified time interval</title>
      <link>https://community.qlik.com/t5/QlikView/About-saving-a-file-in-a-specified-time-interval/m-p/235211#M86498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;What my problem is&lt;/P&gt;&lt;P&gt;How to save a dataobject of a qlikview file at specific date and time interval in our required path that is exported in any one of the file types like(xls,txt,qvd,html,xml) from the macro throuh using buttons...&lt;/P&gt;&lt;P&gt;what the process i have done is,&lt;/P&gt;&lt;P&gt;-&amp;gt; I have a dataobject like(tablebox) , and I have buttons like("XL" , "QVD" ,"TXT" ,"HTML" , "XML" )&lt;/P&gt;&lt;P&gt;-&amp;gt;I have created macros for each and every button what i have. and the code like this&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; Sub Excel&lt;/P&gt;&lt;P&gt;set obj = ActiveDocument.GetSheetObject("TB04")&lt;BR /&gt;&lt;BR /&gt; obj.ExportBiff "D:\Kumar\New\New.xls"&lt;BR /&gt;&lt;BR /&gt; End Sub&lt;/P&gt;&lt;P&gt;Sub QVD&lt;/P&gt;&lt;P&gt;set obj = ActiveDocument.GetSheetObject("TB04")&lt;BR /&gt;&lt;BR /&gt; obj.ExportBiff "D:\Kumar\New\New.qvd"&lt;BR /&gt;&lt;BR /&gt; End Sub&lt;BR /&gt;&lt;BR /&gt; Sub XML&lt;/P&gt;&lt;P&gt;set obj = ActiveDocument.GetSheetObject("TB04")&lt;BR /&gt;&lt;BR /&gt; obj.ExportXML "D:\Kumar\New\New.xml"&lt;BR /&gt;&lt;BR /&gt; End Sub&lt;BR /&gt;&lt;BR /&gt; Sub Text&lt;BR /&gt; set obj = ActiveDocument.GetSheetObject("TB04")&lt;BR /&gt; obj.Export "D:\Kumar\New\New.txt",","&lt;BR /&gt; End Sub&lt;BR /&gt;&lt;BR /&gt; Sub HTML&lt;BR /&gt; set obj = ActiveDocument.GetSheetObject("TB04")&lt;BR /&gt; obj.ExportHTML "D:\Kumar\New\New.html"&lt;BR /&gt; End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;So, everything is working fine but what i want to do is how to save the file i ahave specified in the macro code according to the schedule like(for aparticular date and time).&lt;/P&gt;&lt;P&gt;I hope you understand my problem ,&lt;/P&gt;&lt;P&gt;If u know the solution or If u are not undersatand my problem respond me.&lt;/P&gt;&lt;P&gt;Waiting for ur response....&lt;/P&gt;&lt;P&gt;With Regards..........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2011 13:13:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/About-saving-a-file-in-a-specified-time-interval/m-p/235211#M86498</guid>
      <dc:creator />
      <dc:date>2011-04-29T13:13:28Z</dc:date>
    </item>
    <item>
      <title>About saving a file in a specified time interval</title>
      <link>https://community.qlik.com/t5/QlikView/About-saving-a-file-in-a-specified-time-interval/m-p/235212#M86499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;I think you could use triggers, after reload or something.&lt;/P&gt;&lt;P&gt;Other.&lt;/P&gt;&lt;P&gt;You can create a variable like: TheTime = hour(now())&lt;/P&gt;&lt;P&gt;Then go to triggers and set a trigger to execute your exporting macro every time the variable changes. In this case, every hour.&lt;/P&gt;&lt;P&gt;In your macro, add the next. (In the correct vb language-sintax)&lt;/P&gt;&lt;P&gt;If(TheTime=3,do it, do not)&lt;/P&gt;&lt;P&gt;This way, your macro will be executed at 3.&lt;/P&gt;&lt;P&gt;I guess, if the variable does not change until 4, it won´t execute it.&lt;/P&gt;&lt;P&gt;It's just a raw idea. You need to cook it more.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2011 13:29:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/About-saving-a-file-in-a-specified-time-interval/m-p/235212#M86499</guid>
      <dc:creator>christian77</dc:creator>
      <dc:date>2011-04-29T13:29:55Z</dc:date>
    </item>
  </channel>
</rss>

