Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have a userform with 10 comboboxes on it how do I use excel to check the value of the other boxes on the form. so I do have not any duplicates of items. Thanks Greg |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Greg, Here is some pseudo code that should get your started..
enjoy, Rick Dim x as Integer, y as Integer for x = 1 to 9 for y = x+1 to 10 if Me.CompoBox & x = Me.CompoBox & y then MsgBox("Duplicate Found") Exit For endif next y next x "Greg" wrote in message ... Hi, I have a userform with 10 comboboxes on it how do I use excel to check the value of the other boxes on the form. so I do have not any duplicates of items. Thanks Greg |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thank you Rick
Greg "Rick Hansen" wrote in message ... Greg, Here is some pseudo code that should get your started.. enjoy, Rick Dim x as Integer, y as Integer for x = 1 to 9 for y = x+1 to 10 if Me.CompoBox & x = Me.CompoBox & y then MsgBox("Duplicate Found") Exit For endif next y next x "Greg" wrote in message ... Hi, I have a userform with 10 comboboxes on it how do I use excel to check the value of the other boxes on the form. so I do have not any duplicates of items. Thanks Greg |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
using VBA to retrieve values to ComboBox | Excel Discussion (Misc queries) | |||
Two values in a combobox | Excel Programming | |||
Fill values into a listbox matching selected values from a combobox | Excel Programming | |||
ComboBox Values | Excel Programming | |||
ComboBox Values | Excel Programming |