Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Multiple column listbox syntex question

Nicely done Rob

Thanks a bunch,

Martha
-----Original Message-----
Hi Martha,

Here's one way to do it:

MyVar = ListBox1.List(ListBox1.ListIndex, 4)

--
Rob Bovey, MCSE, MCSD, Excel MVP
Application Professionals
http://www.appspro.com/

* Please post all replies to this newsgroup *
* I delete all unsolicited e-mail responses *


"Martha" wrote in

message
...
Hi,

I have a 4 column single selection listbox on a

userform.

I have a variable (myvar) that I would like to assign

the
value of the selected items 4th column.

ie myvar= listbox1.column(4).value

that doesn't work. I am stumped. Please help.

Thanks a bunch,

Martha



.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Proper syntex to use jannie Excel Discussion (Misc queries) 1 February 10th 10 08:26 PM
Moving Mutli-Column Multiple-Selected Listbox items up or down MP Excel Discussion (Misc queries) 0 January 14th 09 09:34 PM
Syntex Error ?? Paul Cooke Excel Discussion (Misc queries) 4 December 9th 05 01:54 PM
Date format within a text syntex? Brw Excel Worksheet Functions 2 January 26th 05 02:13 PM
Multi-column ListBox. Multiple bound columns??? Joe Mathis Excel Programming 5 December 10th 03 01:32 AM


All times are GMT +1. The time now is 10:58 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"