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: 10
Default Populating a userform 3 col listbox

Dara sheet with many rows and many columns.

User form with 2 listboxes and five text boxes. Listbox1
contains Vendor Names. Listbox2 to have 3 columns. Col 1
= a constant 6 characters (part #), column 2 = 6-8
characters (Prod line),and col 3 = 8-20 characters
(description).

Listbox1 & the textboxes are up and running. Listbox2 is
a different matter. Each vendor may have from 1 to 40
products. Textbox1 contains vendor ID#, Textbox5 lists #
products vendor provides.

Spreadsheet
Col 1 part#
Col 2 Description
Col 4 Vendor
Col 6 Vendor ID #
Col 10 Productline

My thought is to do a find on col6 with the value in
textbox5 & put the values from col 1, col10, and col 2
into listbox 2. Is this the best approach? & could you
please give some guidance respects coding & formatting of
column widths.
TIA

Martin

 
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
Populating listbox with sheet names johnb Excel Discussion (Misc queries) 1 May 16th 08 12:33 PM
Populating listbox Mick[_2_] Excel Discussion (Misc queries) 1 May 14th 08 10:48 PM
populating multicolumn listbox with an array instead of... notsureofthatinfo Excel Programming 0 November 5th 03 10:18 PM
Populating multicolumn listbox the wrong way notsureofthatinfo Excel Programming 0 October 22nd 03 11:38 PM
Populating a VBA UserForm Danny Sowden Excel Programming 0 August 19th 03 03:11 PM


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