Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Applications / Excel / March 2005



Tip: Looking for answers? Try searching our database.

basic listbox question (reading from a cell)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
veggiesaregood@gmail.com - 28 Mar 2005 18:28 GMT
Hi,

I am fairly new to VB and I had a question about listboxes.  If I have
a multi-row, multi-coolumn listbox and I want to read the value out of
a specific cell of that listbox, how can I do that.  I have tried
reading ListBoxName(j,k).text into a string and I have tried reading
ListBoxName(j,k).Cell into a string but both of these are incorrect.

Please let me know if you know the correct way to do this.

Thanks!
veggiesaregood@gmail.com - 28 Mar 2005 20:28 GMT
I got it to work using the column method of listboxes.
Thanks.
J Laroche - 28 Mar 2005 23:22 GMT
veggiesaregood@gmail.com wrote on 2005/03/28 14:28:

> I got it to work using the column method of listboxes.
> Thanks.

You almost had it before: ListBoxName.List(j,k).

In the Visual Basic editor, open the objects browser. In the Classes pane,
scroll down to and click on ListBox. The right pane will show Members of
"ListBox". Control-click on any member and select Help to see what it does.

JL
Mac OS X 10.3.8, Office v.X 10.1.6
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.