> I have a two-column listbox, populated with paths in column 1 and filenames
> in column 2. How do I get the text from just column 2?
Hi =?Utf-8?B?c3RlcGhlbmM=?=,
> I have a two-column listbox, populated with paths in column 1 and filenames
> in column 2. How do I get the text from just column 2?
Example:
ComboBox1.List(ComboBox1.ListIndex, 1)
You can retrieve the information from any row/col combination using the .List
property. ListIndex will give you the currently selected item. As the second
argument, use the col index (0 = first column).
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
stephenc - 04 Apr 2005 09:49 GMT
Thanks Cindy. Much appreciated.
> Hi =?Utf-8?B?c3RlcGhlbmM=?=,
>
[quoted text clipped - 16 lines]
> This reply is posted in the Newsgroup; please post any follow question or
> reply in the newsgroup and not by e-mail :-)