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: 119
Default ListFillRange challenge

On Sheet1, I have users select a project name in cell A1 from a list created
using a data validation range. In cell B1, I have created a combo box using
the Control Toolbox toolbar. The purpose of the combo box is to look up the
project name selected in A1 and then display 2 columns of information (CODE
#, DESCRIPTION) for the user to choose from. The combo box will get its
values from Sheet2 (using the ListFillRange property), where I have the
following information listed:

PROJECTS STATUS CODE # DESCRIPTION
Project A A 10001 Plan 1
Project A A 10002 Plan 2
Project A A 10003 Plan 3
Project A A 10004 Plan 4
Project B A 20001 Plan 5
Project B A 20002 Plan 6
Project B A 20003 Plan 7
Project C A 30001 Plan 8
Project C A 30002 Plan 9
Project C A 30003 Plan 10
Project C A 30004 Plan 11

My problem is writing code for the click event of the combo box that looks
up the value of Sheet1!A1, finds a match for it in the PROJECTS column on
Sheet2, and then displays both the CODE# and DESCRIPTION options for that
project in the combo box for the user to choose from. For example, if Project
B is selected, I want the combo box choices to be
CODE # DESCRIPTION
20001 Plan 5
20002 Plan 6
20003 Plan 7

I know how to set the properties of the combo box; I just need help with the
code.
Thanks!

Steve C
 
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
Combo box - Listfillrange [email protected] Excel Discussion (Misc queries) 0 July 13th 07 09:51 AM
ListFillRange not working Jeff Excel Programming 2 July 1st 05 03:36 PM
How to Set ListFillRange to Another Sheet Chaplain Doug Excel Programming 3 April 29th 05 01:54 PM
ListFillRange Dave Baranas Excel Programming 0 August 12th 03 05:09 AM
ListFillRange Dave Baranas Excel Programming 1 August 11th 03 11:08 PM


All times are GMT +1. The time now is 08:05 PM.

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"