<?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 copy and paste long account # in excel in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418360#M1168802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Activedocument.RecallDocBookmark "Dormant6"&lt;BR /&gt;XLSheet1.Range("A1:A500000").NumberFormat = "@" &lt;BR /&gt;set LB = ActiveDocument.GetSheetObject("LB01")&lt;/P&gt;&lt;P&gt;boxvalues=LB.GetPossibleValues&lt;/P&gt;&lt;P&gt;for i = lbound(boxvalues) to ubound(boxvalues)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XLSheet.cells(i+1,1).Value = boxvalues(i)&lt;BR /&gt;next&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Sep 2012 16:38:17 GMT</pubDate>
    <dc:creator>m_woolf</dc:creator>
    <dc:date>2012-09-18T16:38:17Z</dc:date>
    <item>
      <title>macro to copy and paste long account # in excel</title>
      <link>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418345#M1168777</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 use a macro to create a report. Part of it is to copy possible values from a list box ("Account no") and paste it in Excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Account Numbers can be between 16 and 20 characters long.&lt;/P&gt;&lt;P&gt;After running the macro it changes a number like &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;10201128030000086054&lt;/SPAN&gt; to this: &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;10201128030000000000&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried formatting after the paste, like this:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;XLApp.Worksheets(1).Range("A1:A500000").NumberFormat = "@"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I have tried the text() function when loading the field in QV - but no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how I can get the full Account Number in excel, and not limit it to 15 characters + zeroes? It works when I click on the XL (export listbox) button, but due to the nature of my macro I have to copy and paste.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 13:23:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418345#M1168777</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2012-09-18T13:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: macro to copy and paste long account # in excel</title>
      <link>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418346#M1168779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change the cell formating in Excel to Text before pasting in the value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 13:41:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418346#M1168779</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2012-09-18T13:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: macro to copy and paste long account # in excel</title>
      <link>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418347#M1168781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is what I am trying (even tried vefore AND after):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ActiveDocument.RecallDocBookmark "Dormant5"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ActiveDocument.GetSheetObject("LB32").CopyTableToClipboard true &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;XLApp.Worksheets(1).Range("A1:A500000").NumberFormat = "@" &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;XLSheet1.&lt;STRONG&gt;Paste &lt;/STRONG&gt;XLSheet1.Range("A1")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;XLSheet1.Range("B2").Formula = "=INDIRECT(""A"" &amp;amp; INT(RAND()*COUNTA(A:A))+1)"&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 13:43:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418347#M1168781</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2012-09-18T13:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: macro to copy and paste long account # in excel</title>
      <link>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418348#M1168783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.GetSheetObject("LB32").CopyTextToClipboard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 14:08:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418348#M1168783</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2012-09-18T14:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: macro to copy and paste long account # in excel</title>
      <link>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418349#M1168785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, that doesn't seem to work either - it then doesn't copy the values from the list box - it copies whatever was on my clipboard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case I copied your above command and pasted it in my macro and then ran the macro - so it pasted that command in excel (see image).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 14:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418349#M1168785</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2012-09-18T14:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: macro to copy and paste long account # in excel</title>
      <link>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418350#M1168787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That code worked for me.&lt;/P&gt;&lt;P&gt;Try the attached qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 14:41:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418350#M1168787</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2012-09-18T14:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: macro to copy and paste long account # in excel</title>
      <link>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418351#M1168790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the trouble but can you maybe post the macro here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have QV Personal Edition so can't open your file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the below but it definitely does not work my side:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;ActiveDocument.RecallDocBookmark "Dormant6"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;ActiveDocument.GetSheetObject("LB32").CopyTextToClipboard&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;XLApp.Worksheets(1).Range("A1:A500000").NumberFormat = "@" &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;XLSheet1.Paste XLSheet1.Range("A1")&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;XLSheet1.Range("C2").Formula = "=INDIRECT(""A"" &amp;amp; INT(RAND()*COUNTA(A:A))+1)" &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if the fact that I use an expression in my list-box (and not a normal field) has anything to do with it?&lt;/P&gt;&lt;P&gt;That is what you helped me with earlier in &lt;A _jive_internal="true" href="https://community.qlik.com/message/260240#260240"&gt;THIS &lt;/A&gt;discussion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 14:47:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418351#M1168790</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2012-09-18T14:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: macro to copy and paste long account # in excel</title>
      <link>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418352#M1168792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Set XLApp = CreateObject("Excel.Application")&lt;BR /&gt;XLApp.visible = true&lt;BR /&gt;Set XLWorkbook = XLApp.Workbooks.Add&lt;BR /&gt;Set XLSheet = XLWorkbook.sheets("Sheet1")&lt;BR /&gt;XLSheet.Range("A1:A1000").NumberFormat = "@" &lt;BR /&gt;ActiveDocument.GetSheetObject("LB01").CopyTextToClipboard&lt;BR /&gt;XLSheet.Range("A1").Select&lt;BR /&gt;XLSheet.paste &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 14:49:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418352#M1168792</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2012-09-18T14:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: macro to copy and paste long account # in excel</title>
      <link>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418353#M1168793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried it with the aggr expression in my LB and it still worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 14:52:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418353#M1168793</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2012-09-18T14:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: macro to copy and paste long account # in excel</title>
      <link>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418354#M1168794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the issue seems to be with the selections that I make first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I commented out this command now:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;ActiveDocument.RecallDocBookmark "Dormant6"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then it works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to make those selections first though.&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 14:57:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418354#M1168794</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2012-09-18T14:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: macro to copy and paste long account # in excel</title>
      <link>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418355#M1168795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cal you make those selections in code and not i a bookmark?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 15:07:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418355#M1168795</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2012-09-18T15:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: macro to copy and paste long account # in excel</title>
      <link>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418356#M1168796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would REALLY prefer not to. The whole point of this macro is to create an excel list of randomly select accounts, each based on multiple selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am going to have a few hundred different bookmarks at the end, which makes coding this easy because I can copy and paste and just change a few things. Coding in the individual selections will take me all year - plus they may change at a later stage, in which case it would be better to just update the bookmarks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 15:10:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418356#M1168796</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2012-09-18T15:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: macro to copy and paste long account # in excel</title>
      <link>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418357#M1168797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In any case it looks like that won't work - I just tried, making just one selection, and it has the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only when nothing is selected does the &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;.CopyTextToClipboard&lt;/SPAN&gt; command seem to work.... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 15:25:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418357#M1168797</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2012-09-18T15:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: macro to copy and paste long account # in excel</title>
      <link>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418358#M1168798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will be messier, but this code should get each individual value from the listbox. You coe would need to write boxvalues(i) into a cell and then move down to the next cell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set LB = ActiveDocument.GetSheetObject("LB01")&lt;/P&gt;&lt;P&gt;boxvalues=LB.GetPossibleValues&lt;/P&gt;&lt;P&gt;for i = lbound(boxvalues) to ubound(boxvalues)&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgbox(boxvalues(i))&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 16:00:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418358#M1168798</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2012-09-18T16:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: macro to copy and paste long account # in excel</title>
      <link>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418359#M1168801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I saw something like that in a different post and API guide, but could not figure it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will you be able to integrate that to the section of my macro I posted? It makes a bookmark selection then pastes all possible values from the list box in cell A1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don;t understand what the "box" commands do exactly and how to use them. If is selects "PossibleValues" do I still need the LB with aggr expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;&lt;STRONG&gt;ActiveDocument.RecallDocBookmark "Dormant6"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;&lt;STRONG&gt;ActiveDocument.GetSheetObject("LB32").CopyTextToClipboard&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;&lt;STRONG&gt;XLApp.Worksheets(1).Range("A1:A500000").NumberFormat = "@"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;&lt;STRONG&gt;XLSheet1.Paste XLSheet1.Range("A1")&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for all the trouble you're going through.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 16:06:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418359#M1168801</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2012-09-18T16:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: macro to copy and paste long account # in excel</title>
      <link>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418360#M1168802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Activedocument.RecallDocBookmark "Dormant6"&lt;BR /&gt;XLSheet1.Range("A1:A500000").NumberFormat = "@" &lt;BR /&gt;set LB = ActiveDocument.GetSheetObject("LB01")&lt;/P&gt;&lt;P&gt;boxvalues=LB.GetPossibleValues&lt;/P&gt;&lt;P&gt;for i = lbound(boxvalues) to ubound(boxvalues)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XLSheet.cells(i+1,1).Value = boxvalues(i)&lt;BR /&gt;next&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 16:38:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418360#M1168802</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2012-09-18T16:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: macro to copy and paste long account # in excel</title>
      <link>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418361#M1168803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Beautiful. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 17:30:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-to-copy-and-paste-long-account-in-excel/m-p/418361#M1168803</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2012-09-18T17:30:08Z</dc:date>
    </item>
  </channel>
</rss>

