Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 172
Default Is there any easier way ?

My scenario:

cmb = Combobox
xxx= Combobox selected value
cmb23.list - cmb32.list are Conditional upon the cmb to the LEFT (cmb32{B} with cmb2{A}...) selected value.

A B
cmb2 cmb23
xxx xxx

cmb3 cmb24
xxx xxx

cmb4 cmb25
xxx xxx
etc.....
cmb11 cmb32
xxx xxx


What i am trying to achieve is to ELIMINATE the chance of the user Selecting the Same {A}cmb AND the same {B} cmb.values as the user progresses from the Top DOWN.

The top 2 were not too bad to code such as:

In instance for cmb24:
If cmb24.value = cmb23.value And cmb3.value = cmb2.value then msgbox "That selection has been chosen already !!"

But as you go down the list, the possible combinations dramatically increases.

Can you image the logical code size when i get to the 10th cmb's?

Is there any easier way to do this?


I cannot simply rely on the {B} cmb.value alone, as they CAN have the SAME value in their list but the actual data is NOT the same literal cell.value.

Any idea's

Corey....
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
Is there an easier way? Alexey[_2_] Excel Worksheet Functions 4 September 28th 08 10:59 PM
Easier said than done Gordon[_2_] Excel Programming 1 July 6th 06 12:03 PM
There's Got to be an Easier Way Sprint54 Excel Discussion (Misc queries) 7 February 9th 06 12:06 AM
Is there an easier way? wmaughan Excel Discussion (Misc queries) 5 December 27th 05 10:56 PM
Easier Way? scott45 Excel Worksheet Functions 2 October 12th 05 04:55 AM


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