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 Determing if user input is on list in Combo Box

I have a combo box that lists all standard sizes for an item we manufacture.
It is set to allow the user to input a value not on the list if they desire.
However, if they input their own size, I need to determine this, so I can
charge for a non-standard size.

Note that I am trying to make a generic VBA routine that I can use in both
Excel and AutoCAD, so I don't want to use any Excel specific commands. I have
populated my combo box with a command like this;

Dim StdSizes(100,100,100)
'Then I populate the array with inches, feet-inch, and meters for out
standard sizes
Combo1.Column() = StdSizes

I imagine I can use a Combo1_Change() event to determine when the user is
finished typing, and then compare the new value of the combo box to all the
values in the array to see if there are any matches.

Any other methods you can recommend?

Joe Dunfee
 
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
Dropdown List That Accepts Other User Input GEdwards Excel Discussion (Misc queries) 5 April 5th 10 05:45 AM
Combo Box that allows user entry of values not on drop-down list donnadelayed Excel Discussion (Misc queries) 1 July 2nd 08 04:20 PM
BRAND NEW USER -: PROBLEMS WITH LIST AND TEXT BOX INPUT [email protected] Excel Programming 0 April 20th 07 08:04 AM
How can I calculate user input from a combo box into a formula? Quizboy Excel Worksheet Functions 0 November 16th 05 06:11 PM
Check a user-input value against a list of values? Bill_S Excel Programming 1 April 28th 05 03:24 AM


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