Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default locking cells based on condition

You might want to pursue a slightly different approach and make the list
presented dependent. So if hours is chosen in the first box, only
acceptable entries are offered in the second (same for minutes). See Debra
Dalgleish's pages on this approach (assume you are using the list option
with data = validation for your dropdowns).

http://www.contextures.on.ca/xlDataVal02.html

--
Regards,
Tom Ogilvy

"itsmaheshp" wrote in message
...

Hai guys,
here is the thing i need.in my excel i am ahving as follows. there are
3 cells(all

r drop down). 1st cell has values like Hour,Minute, 2nd is having
values(1,2..24)

and 3rd is having values 5,10,15,20....60. here if the user selects
hour from the

first cell then he has to select values only from 2nd dropdown cell i.e
1,2..24.

she should n't select 5,10,15..20 dropdown cell. he has to get some
message when he

did so. and if he selects Minutes from 1st cell then he has to select
only the

5,10,15..60 dropdown cell but not 1,2,..24 cell.
and also how can i do if i am having a group of cells like 2nd and 3rd
cell.

how can i achieve this.i have to use VBScript or is there any function
to do this

in Excel.i am using MS Excell 2000.
plz help me.
thanks & regards,
Mahesh P


--
itsmaheshp
------------------------------------------------------------------------
itsmaheshp's Profile:

http://www.excelforum.com/member.php...o&userid=15859
View this thread: http://www.excelforum.com/showthread...hreadid=274088



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
Locking a cell based on a cells content The Rook[_2_] Excel Discussion (Misc queries) 1 June 2nd 10 08:41 PM
if condition and locking cells kashvii Excel Discussion (Misc queries) 2 February 3rd 09 05:42 PM
if condition and locking cells kashvii Excel Worksheet Functions 1 February 3rd 09 05:38 PM
Locking/Unlocking cells upon condition Brettjg Excel Discussion (Misc queries) 20 March 12th 07 06:01 AM
Locking other cells based on values in a cell. Mario[_6_] Excel Programming 1 January 11th 04 07:41 AM


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