PC Review


Reply
Thread Tools Rate Thread

Determine lowest selected value among combo group

 
 
John
Guest
Posts: n/a
 
      9th Nov 2008
I have five combo controls on a form. Each unbound combo offers the
same choices----select a number from 1 to 10. Here's the challenge,
how can I determine what the lowest selected value is among all five
combos?

So, if:
Combo A= 4
Combo B= 8
Combo C=2
Combo D=9
Combo E=3

I need to store value 2 in a variable (VBA). But, how can I do this in
vba? Any help is greatly appreciated!
 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      9th Nov 2008
See the MinOfList() function here:
http://allenbrowne.com/func-09.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"John" <(E-Mail Removed)> wrote in message
news:7fbf49b3-61b0-44af-84f2-(E-Mail Removed)...
>I have five combo controls on a form. Each unbound combo offers the
> same choices----select a number from 1 to 10. Here's the challenge,
> how can I determine what the lowest selected value is among all five
> combos?
>
> So, if:
> Combo A= 4
> Combo B= 8
> Combo C=2
> Combo D=9
> Combo E=3
>
> I need to store value 2 in a variable (VBA). But, how can I do this in
> vba? Any help is greatly appreciated!

 
Reply With Quote
 
John
Guest
Posts: n/a
 
      9th Nov 2008
On Nov 9, 2:12*am, "Allen Browne" <AllenBro...@SeeSig.Invalid> wrote:
> See the MinOfList() function here:
> * *http://allenbrowne.com/func-09.html
>
> --
> Allen Browne - Microsoft MVP. *Perth, Western Australia
> Tips for Access users -http://allenbrowne.com/tips.html
> Reply to group, rather than allenbrowne at mvps dot org.
>
> "John" <soundnee...@gmail.com> wrote in message
>
> news:7fbf49b3-61b0-44af-84f2-(E-Mail Removed)...
>
>
>
> >I have five combo controls on a form. Each unbound combo offers the
> > same choices----select a number from 1 to 10. Here's the challenge,
> > how can I determine what the lowest selected value is among all five
> > combos?

>
> > So, if:
> > Combo A= 4
> > Combo B= 8
> > Combo C=2
> > Combo D=9
> > Combo E=3

>
> > I need to store value 2 in a variable (VBA). But, how can I do this in
> > vba? Any help is greatly appreciated!- Hide quoted text -

>
> - Show quoted text -


Beautiful. Thank you, Allen!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
determine lowest number in several columns and replace lowest numb jerry Microsoft Excel Worksheet Functions 1 18th Jun 2008 03:19 AM
Determine lowest proce =?Utf-8?B?Rm9ucyBQb25zaW9lbg==?= Microsoft Access Queries 2 13th Jan 2006 04:48 PM
Limit combo box selections by Option Group button selected. =?Utf-8?B?dGpjb2xsaWVy?= Microsoft Access Forms 2 16th Dec 2005 07:05 PM
Limit combo box selection by option group button selected. =?Utf-8?B?dGpjb2xsaWVy?= Microsoft Access Getting Started 1 15th Dec 2005 07:58 PM
Determine lowest number Barney Microsoft Excel Discussion 6 26th Dec 2004 04:09 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:54 PM.