PC Review


Reply
Thread Tools Rate Thread

Data Validation - Multiple selection.

 
 
=?Utf-8?B?YmVja3N0ZXI2NzAx?=
Guest
Posts: n/a
 
      6th Mar 2007
I have copied Debra Dagliesh's code and it is not working for me. It works
great in her sample so I'm sure that I'm missing something.

I would like to apply it to a list of vendors where the user can select more
than one vendor from the list for entry into this field. I have the list in
a named range and the combo box appears where the selection is to occur. I'm
not able to get it to allow multiple selections.

I'm relatively new to VBA programming so any very basic help would be
greatly appreciated.

Regards
--
Beckster6701
 
Reply With Quote
 
 
 
 
Debra Dalgleish
Guest
Posts: n/a
 
      6th Mar 2007
Did you change the code? Does it refer to the same columns you're using
in your worksheet?

beckster6701 wrote:
> I have copied Debra Dagliesh's code and it is not working for me. It works
> great in her sample so I'm sure that I'm missing something.
>
> I would like to apply it to a list of vendors where the user can select more
> than one vendor from the list for entry into this field. I have the list in
> a named range and the combo box appears where the selection is to occur. I'm
> not able to get it to allow multiple selections.
>
> I'm relatively new to VBA programming so any very basic help would be
> greatly appreciated.
>
> Regards



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

 
Reply With Quote
 
=?Utf-8?B?YmVja3N0ZXI2NzAx?=
Guest
Posts: n/a
 
      6th Mar 2007
That must be what I'm doing wrong. Just to confirm that the code is to be
modified to reflect the column reference. So if it the data is in column A
it would column 1? Like I said, I'm still very new to VBA so I want to be
sure that I'm getting this right. Thanks for your help.

Becky
--
Beckster6701


"Debra Dalgleish" wrote:

> Did you change the code? Does it refer to the same columns you're using
> in your worksheet?
>
> beckster6701 wrote:
> > I have copied Debra Dagliesh's code and it is not working for me. It works
> > great in her sample so I'm sure that I'm missing something.
> >
> > I would like to apply it to a list of vendors where the user can select more
> > than one vendor from the list for entry into this field. I have the list in
> > a named range and the combo box appears where the selection is to occur. I'm
> > not able to get it to allow multiple selections.
> >
> > I'm relatively new to VBA programming so any very basic help would be
> > greatly appreciated.
> >
> > Regards

>
>
> --
> Debra Dalgleish
> Contextures
> http://www.contextures.com/tiptech.html
>
>

 
Reply With Quote
 
Debra Dalgleish
Guest
Posts: n/a
 
      7th Mar 2007
It depends which technique you're using, but there may be a reference to
the target column, e.g.:

If Target.Column = 3 Then

So, if you're using column A, you're right, you should change the
reference to column 1:

If Target.Column = 1 Then


beckster6701 wrote:
> That must be what I'm doing wrong. Just to confirm that the code is to be
> modified to reflect the column reference. So if it the data is in column A
> it would column 1? Like I said, I'm still very new to VBA so I want to be
> sure that I'm getting this right. Thanks for your help.
>
> Becky



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

 
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
Dynamic Data Series Selection from Data Validation Dropdown? Kris S Microsoft Excel Charting 1 23rd May 2008 11:17 PM
Data Validation Update Validation Selection =?Utf-8?B?UENyZWlnaHRvbg==?= Microsoft Excel Worksheet Functions 5 24th Sep 2007 01:47 AM
Data Validation with selection Lee Microsoft Excel New Users 4 5th Sep 2007 11:17 PM
Data Validation with multiple table selection =?Utf-8?B?U3RldmVNYXg=?= Microsoft Excel Misc 3 11th May 2007 02:49 PM
Data Validation list selection question Bob Wall Microsoft Excel Worksheet Functions 2 4th Dec 2004 04:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:36 AM.