Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 123
Default user form - drop down set values

Hi,

I have dropdown (coprocess.List) which pulls data from below code...
coprocess.List = ThisWorkbook.Sheets(1).Range("CL7:CL16").Value

I wish it should give me a error or message when user puts something which
is not in the drop down.

Thanks!
Boss

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default user form - drop down set values

Would changing the Style property of the ComboBox (what I assume you are
using when you say "drop down" on a UserForm) to 2-fmStyleDropDownList in
the Properties box be an acceptable alternative (it will not let the user
pick anything that is not on the list)?

--
Rick (MVP - Excel)


"Boss" wrote in message
...
Hi,

I have dropdown (coprocess.List) which pulls data from below code...
coprocess.List = ThisWorkbook.Sheets(1).Range("CL7:CL16").Value

I wish it should give me a error or message when user puts something which
is not in the drop down.

Thanks!
Boss


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
Trying to get a User Form to activate off a drop down menu Rcarper Excel Discussion (Misc queries) 2 October 2nd 09 02:04 PM
Data Validation - Drop Down for User Form wx4usa Excel Discussion (Misc queries) 2 October 24th 08 03:28 PM
User Form - Get Data From Drop List Tony Excel Discussion (Misc queries) 0 January 7th 08 08:54 PM
Use a simple Drop Down List or User Form Ted Excel Programming 0 October 11th 04 09:37 PM
Data Input - User Form Drop-Down Box meflorence[_3_] Excel Programming 2 May 18th 04 02:43 PM


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