LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default How to display Items in ListBox

HI.

I have two ListBox(ListBox1&ListBox2) in Worksheet1. The amount of
items of ListBox2 depends on the choice of items in ListBox1.

On Worksheet2, I build a

Private Sub ListBox1_Click()
On Error Resume Next
With ListBox2
.ListFillRange = Range("DetailInfoAddress").Value
End With

End Sub


I mapped the cells relationship between ListBOX1 and ListBOX2 through
the property"LinkedCell". The DetailInfoAddress is the name for one
cell in worksheet2. It stands for a range info
like:Worksheet2!$B$15:$B$17.

However,this VBA program couldn't display the Items in the ListBox2.

Could you Fix this program for me?Thank you in advance!!!

Regards

Sam

 
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
Always display items AND Include hidden items in totals Ted M H Excel Discussion (Misc queries) 0 November 6th 07 09:47 PM
Adding Items to a ListBox-Unique Items Only jpendegraft[_14_] Excel Programming 2 May 2nd 04 02:27 AM
Items in a Listbox Todd Huttenstine Excel Programming 1 April 26th 04 03:36 PM
Fill a ListBox with items using VBA [email protected] Excel Programming 1 April 21st 04 09:59 PM
Sort Listbox Items Stratuser Excel Programming 2 January 17th 04 03:05 PM


All times are GMT +1. The time now is 03:21 AM.

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"