Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Inserting from a list box?

Hi,
Back for more help!
Can anybody assist me with this task:
I have a long list of product descritions each have an abreviated code
in the cell adjacent it. I would like to be be to select from a list
box? of the descriptions and have the abreviated code inserted into a
cell in my summary sheet. I would even settle for a list box that had
2 colomns so i could scroll through the descrptions list to find the
abreviated code and then input it in the summary list myself.
Julian
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 58
Default Inserting from a list box?

Is this a worksheet listbox? If codes in the sheet are to the left of
descriptions, set the ListFillRange (RowSource for a listbox in a userform)
equal to that range of both columns, the ColumnCount equal to 2,
ColumnWidths equal to 0; and the LinkedCell (ControlSource for listbox in a
userform) to wherever you want the result.

If the sheet data configuration is descriptions to the left of codes, then
do everything above except the LinkedCell part and the ColumnWidths should
instead be ;0. In the listbox's DblClick event add:

With ListBox1
Range("F1").Value = .List(.ListIndex, 1)
End With

for more info about listboxes please see
http://www.rubbershoe.com/listbox.htm


"Julian Blair" wrote in message
om...
Hi,
Back for more help!
Can anybody assist me with this task:
I have a long list of product descritions each have an abreviated code
in the cell adjacent it. I would like to be be to select from a list
box? of the descriptions and have the abreviated code inserted into a
cell in my summary sheet. I would even settle for a list box that had
2 colomns so i could scroll through the descrptions list to find the
abreviated code and then input it in the summary list myself.
Julian



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
Inserting a list into "If" function MZ Excel Discussion (Misc queries) 2 January 1st 10 10:10 AM
Inserting Columns Based on List SixBowls Excel Discussion (Misc queries) 0 August 26th 09 03:42 PM
Inserting rows using a list of numbers steverv Excel Discussion (Misc queries) 3 May 12th 09 10:31 AM
lock a total row below a list & allow inserting in the list? Curious Consultant Excel Worksheet Functions 2 May 11th 07 04:14 PM
list 1 has 400 names List 2 has 4000. find manes from list 1 on 2 Ed Excel Worksheet Functions 5 September 12th 05 09:48 AM


All times are GMT +1. The time now is 08:49 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"