<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: ListView</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2006/12/26/listview/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2006/12/26/listview/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Wed, 08 Feb 2012 23:58:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Excel Addin</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/12/26/listview/#comment-70386</link>
		<dc:creator>Excel Addin</dc:creator>
		<pubDate>Wed, 07 Dec 2011 14:46:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1571#comment-70386</guid>
		<description>And I absolutely concur with Markus above.

it took me ages to find a decent how-to guide on listboxes.

Im now going to head back and code in decent column headers and sorting into my own work. 

Thanks for this, and Im kicking myself it took me this long to find it.</description>
		<content:encoded><![CDATA[<p>And I absolutely concur with Markus above.</p>
<p>it took me ages to find a decent how-to guide on listboxes.</p>
<p>Im now going to head back and code in decent column headers and sorting into my own work. </p>
<p>Thanks for this, and Im kicking myself it took me this long to find it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Markus</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/12/26/listview/#comment-66771</link>
		<dc:creator>Markus</dc:creator>
		<pubDate>Thu, 06 Oct 2011 03:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1571#comment-66771</guid>
		<description>&lt;p&gt;Hey,&lt;/p&gt;
&lt;p&gt;awesome, the first proper use I find on this. I am desperately looking for ways to add images into cells the way it is described in MSDN for the Listviews in VB6, but I do not know how to assign an image index to a subitem?&lt;/p&gt;
&lt;p&gt;I also really want to change the checkbox icons through StateImageList, however VBA will not let me change that property :(&lt;/p&gt;
&lt;p&gt;Anyone know how I could proceed? If I cannot do this, the usability of my app will suffer :(&lt;/p&gt;
&lt;p&gt;Thank you so much,&lt;br&gt;
Markus&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>awesome, the first proper use I find on this. I am desperately looking for ways to add images into cells the way it is described in MSDN for the Listviews in VB6, but I do not know how to assign an image index to a subitem?</p>
<p>I also really want to change the checkbox icons through StateImageList, however VBA will not let me change that property <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Anyone know how I could proceed? If I cannot do this, the usability of my app will suffer <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Thank you so much,<br />
Markus</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piyusha</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/12/26/listview/#comment-40372</link>
		<dc:creator>Piyusha</dc:creator>
		<pubDate>Wed, 29 Jul 2009 07:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1571#comment-40372</guid>
		<description>&lt;p&gt;Hi all,&lt;br&gt;
I am populating two drop downs by a macro .every time the macro runs it takes the text value from the first dropdown and sets its text to that value.But the first dropdown is populated with same multiple record each time the macro is launced . I cannot claer it as the second dropdown requires the first dropdown text. Please help how can I do it&lt;br&gt;
Thanks,&lt;br&gt;
Piyusha&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi all,<br />
I am populating two drop downs by a macro .every time the macro runs it takes the text value from the first dropdown and sets its text to that value.But the first dropdown is populated with same multiple record each time the macro is launced . I cannot claer it as the second dropdown requires the first dropdown text. Please help how can I do it<br />
Thanks,<br />
Piyusha</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rifter1</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/12/26/listview/#comment-36236</link>
		<dc:creator>Rifter1</dc:creator>
		<pubDate>Thu, 27 Nov 2008 06:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1571#comment-36236</guid>
		<description>&lt;p&gt;Wow you don&#039;t know how hard I looked to find this.&lt;br&gt;
This is EXACTLY what I needed. Thanks!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Wow you don&#8217;t know how hard I looked to find this.<br />
This is EXACTLY what I needed. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob van Gelder</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/12/26/listview/#comment-21972</link>
		<dc:creator>Rob van Gelder</dc:creator>
		<pubDate>Sat, 30 Dec 2006 23:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1571#comment-21972</guid>
		<description>&lt;p&gt;JK:&lt;br&gt;
My post got cut in half because I used some reserved html characters.&lt;br&gt;
I was pointing out my own mistake - I was storing a String in a Long variable. shocking and how embarrassing.&lt;/p&gt;
&lt;p&gt;Rob&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>JK:<br />
My post got cut in half because I used some reserved html characters.<br />
I was pointing out my own mistake &#8211; I was storing a String in a Long variable. shocking and how embarrassing.</p>
<p>Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JD</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/12/26/listview/#comment-21951</link>
		<dc:creator>JD</dc:creator>
		<pubDate>Thu, 28 Dec 2006 21:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1571#comment-21951</guid>
		<description>&lt;p&gt;For the sorting:&lt;/p&gt;
&lt;p&gt;Private Sub ListView1_ColumnClick(ByVal ColumnHeader As MSComctlLib.ColumnHeader)&lt;/p&gt;
&lt;p&gt;    ListView1.Sorted = True&lt;/p&gt;
&lt;p&gt;    If ListView1.SortKey = (ColumnHeader.Index - 1) Then _&lt;br&gt;
        GoTo changesort &#039;there&#039;s already a sort in place for this column&lt;/p&gt;
&lt;p&gt;    &#039;No need to change sort order the first time the column is selected&lt;br&gt;
    ListView1.SortOrder = lvwAscending&lt;br&gt;
    ListView1.SortKey = (ColumnHeader.Index - 1) &#039;Sortkey = 0-based, Index = 1-based&lt;/p&gt;
&lt;p&gt;    Exit Sub&lt;/p&gt;
&lt;p&gt;changesort:&lt;br&gt;
    &#039;I prefer select statements as they take up slightly less CPU time&lt;br&gt;
    Select Case ListView1.SortOrder&lt;br&gt;
        Case lvwAscending&lt;br&gt;
            ListView1.SortOrder = lvwDescending&lt;br&gt;
        Case Else&lt;br&gt;
            ListView1.SortOrder = lvwAscending&lt;br&gt;
    End Select&lt;/p&gt;
&lt;p&gt;End Sub&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>For the sorting:</p>
<p>Private Sub ListView1_ColumnClick(ByVal ColumnHeader As MSComctlLib.ColumnHeader)</p>
<p>    ListView1.Sorted = True</p>
<p>    If ListView1.SortKey = (ColumnHeader.Index &#8211; 1) Then _<br />
        GoTo changesort &#8216;there&#8217;s already a sort in place for this column</p>
<p>    &#8216;No need to change sort order the first time the column is selected<br />
    ListView1.SortOrder = lvwAscending<br />
    ListView1.SortKey = (ColumnHeader.Index &#8211; 1) &#8216;Sortkey = 0-based, Index = 1-based</p>
<p>    Exit Sub</p>
<p>changesort:<br />
    &#8216;I prefer select statements as they take up slightly less CPU time<br />
    Select Case ListView1.SortOrder<br />
        Case lvwAscending<br />
            ListView1.SortOrder = lvwDescending<br />
        Case Else<br />
            ListView1.SortOrder = lvwAscending<br />
    End Select</p>
<p>End Sub</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jkpieterse</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/12/26/listview/#comment-21948</link>
		<dc:creator>jkpieterse</dc:creator>
		<pubDate>Thu, 28 Dec 2006 15:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1571#comment-21948</guid>
		<description>&lt;p&gt;Hi again Rob,&lt;/p&gt;
&lt;p&gt;Sorry, I obviously didn&#039;t look at your post.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi again Rob,</p>
<p>Sorry, I obviously didn&#8217;t look at your post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jkpieterse</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/12/26/listview/#comment-21947</link>
		<dc:creator>jkpieterse</dc:creator>
		<pubDate>Thu, 28 Dec 2006 14:58:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1571#comment-21947</guid>
		<description>&lt;p&gt;Hi Rob,&lt;/p&gt;
&lt;p&gt;??? Not sure I grasp what you are saying here?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Rob,</p>
<p>??? Not sure I grasp what you are saying here?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob van Gelder</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/12/26/listview/#comment-21941</link>
		<dc:creator>Rob van Gelder</dc:creator>
		<pubDate>Wed, 27 Dec 2006 20:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1571#comment-21941</guid>
		<description>&lt;p&gt;oh my goodness... did I just do this?&lt;br&gt;
Computers As Long&lt;br&gt;
udtPeople(1).Computers = &quot;3?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>oh my goodness&#8230; did I just do this?<br />
Computers As Long<br />
udtPeople(1).Computers = &#8220;3?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jkpieterse</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/12/26/listview/#comment-21939</link>
		<dc:creator>jkpieterse</dc:creator>
		<pubDate>Wed, 27 Dec 2006 11:14:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1571#comment-21939</guid>
		<description>&lt;p&gt;I sometimes use an array of a custom type to avoid the extra dimensions:&lt;/p&gt;
&lt;p&gt;Type Person&lt;br&gt;
Name as String&lt;br&gt;
Age As Integer&lt;br&gt;
End Type&lt;/p&gt;
&lt;p&gt;In a sub:&lt;br&gt;
Dim typPersons() as Person&lt;/p&gt;
&lt;p&gt;Redim typPersons(1)&lt;br&gt;
typPersons(0).Name=&quot;John&quot;&lt;br&gt;
typPerson(0).Age=50&lt;br&gt;
typPersons(1).Name=&quot;Jim&quot;&lt;br&gt;
typPerson(1).Age=12&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I sometimes use an array of a custom type to avoid the extra dimensions:</p>
<p>Type Person<br />
Name as String<br />
Age As Integer<br />
End Type</p>
<p>In a sub:<br />
Dim typPersons() as Person</p>
<p>Redim typPersons(1)<br />
typPersons(0).Name=&#8221;John&#8221;<br />
typPerson(0).Age=50<br />
typPersons(1).Name=&#8221;Jim&#8221;<br />
typPerson(1).Age=12</p>
]]></content:encoded>
	</item>
</channel>
</rss>

