Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Listbox Add to list

My list box is a list of names sorted a-z.
I would like to be able to type a name -not on the list- have it added to
the list and also sorted with the other names. Right now I can't add to
list.
Thanks


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 599
Default Listbox Add to list

Hank

How are you populating the listbox in the first place?

--
Dick Kusleika
MVP - Excel
Excel Blog - Daily Dose of Excel
www.dicks-blog.com

"Hank" wrote in message
...
My list box is a list of names sorted a-z.
I would like to be able to type a name -not on the list- have it added to
the list and also sorted with the other names. Right now I can't add to
list.
Thanks




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Listbox Add to list

Dick,
I am using another sheet in the same workbook called MFG. The combo link is
to MFG!A2:A100. I do hide this sheet to prevent it from printing.
Thanks for your help
Hank
"Dick Kusleika" wrote in message
...
Hank

How are you populating the listbox in the first place?

--
Dick Kusleika
MVP - Excel
Excel Blog - Daily Dose of Excel
www.dicks-blog.com

"Hank" wrote in message
...
My list box is a list of names sorted a-z.
I would like to be able to type a name -not on the list- have it added to
the list and also sorted with the other names. Right now I can't add to
list.
Thanks






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 599
Default Listbox Add to list

Hank

I never use RowSource with listboxes. I only populate with AddItem (or
sometimes the List property) and I encourage everyone else to do the same.
Here are some web pages that may help you

Populating a Listbox
http://www.dicks-blog.com/excel/2004...ting_acti.html

Populating a Multi-column Listbox
http://www.dicks-blog.com/excel/2004...ting_mult.html

Populating from an unsorted range
http://www.dicks-blog.com/excel/2004...te_a_mult.html

Sorting a ListBox
http://www.dicks-blog.com/excel/2004...g_listbox.html

Sorting a Multi-Column ListBox
http://www.dicks-blog.com/excel/2004...g_a_multi.html

--
Dick Kusleika
MVP - Excel
Excel Blog - Daily Dose of Excel
www.dicks-blog.com

"Hank" wrote in message
...
Dick,
I am using another sheet in the same workbook called MFG. The combo link

is
to MFG!A2:A100. I do hide this sheet to prevent it from printing.
Thanks for your help
Hank
"Dick Kusleika" wrote in message
...
Hank

How are you populating the listbox in the first place?

--
Dick Kusleika
MVP - Excel
Excel Blog - Daily Dose of Excel
www.dicks-blog.com

"Hank" wrote in message
...
My list box is a list of names sorted a-z.
I would like to be able to type a name -not on the list- have it added

to
the list and also sorted with the other names. Right now I can't add to
list.
Thanks








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
copying the contents of a drop down list from the listbox itself? Digi777 Excel Discussion (Misc queries) 0 January 25th 10 10:06 PM
Making a Dynamic List in Listbox MikeM[_4_] Excel Programming 2 December 16th 03 04:16 PM
listbox.value not equal to listbox.list(listbox.listindex,0) ARB Excel Programming 0 October 22nd 03 12:46 AM
ListBox List Code? Abdul[_4_] Excel Programming 1 October 10th 03 01:28 AM
Create ListBox (?) same as Find all Result List Soniya Excel Programming 1 October 2nd 03 01:22 PM


All times are GMT +1. The time now is 09:23 PM.

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

About Us

"It's about Microsoft Excel"