#1   Report Post  
JoeMNY
 
Posts: n/a
Default disable cell

Greetings,

I'm sure this is possible but I can't figure it out. How can I disable a
cell based on input in another cell. Example:

A1=Powered
A2=Glider
A3=
A4=

If an "X" is placed in A3, I want A4 disabled (locked).

TIA

  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
not completely save but
- select cell A4
- goto 'Data - Validation -. custom
- enter the formula
=A3<"X"

Note: This does not prevent copying data to this cell. If you need more
security you have to use VBA (an event procedure)


--
Regards
Frank Kabel
Frankfurt, Germany


JoeMNY wrote:
Greetings,

I'm sure this is possible but I can't figure it out. How can I
disable a cell based on input in another cell. Example:

A1=Powered
A2=Glider
A3=
A4=

If an "X" is placed in A3, I want A4 disabled (locked).

TIA


  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

You can try datavalidationallowcustom and use

=A3<"X"

that will prevent anyone typing anything in A4 (but not pasting)
if A3 holds "X"


Regards,

Peo Sjoblom

"JoeMNY" wrote:

Greetings,

I'm sure this is possible but I can't figure it out. How can I disable a
cell based on input in another cell. Example:

A1=Powered
A2=Glider
A3=
A4=

If an "X" is placed in A3, I want A4 disabled (locked).

TIA

  #4   Report Post  
JoeMNY
 
Posts: n/a
Default

I am just learning VB, can you help me with the code?

"Frank Kabel" wrote:

Hi
not completely save but
- select cell A4
- goto 'Data - Validation -. custom
- enter the formula
=A3<"X"

Note: This does not prevent copying data to this cell. If you need more
security you have to use VBA (an event procedure)


--
Regards
Frank Kabel
Frankfurt, Germany


JoeMNY wrote:
Greetings,

I'm sure this is possible but I can't figure it out. How can I
disable a cell based on input in another cell. Example:

A1=Powered
A2=Glider
A3=
A4=

If an "X" is placed in A3, I want A4 disabled (locked).

TIA



  #5   Report Post  
JoeMNY
 
Posts: n/a
Default

Thanks that works but what I would really like is to lock the cell to not
allow any entry. I am just learning VB. Is there a way to do this with a VB
Procedure?

"Peo Sjoblom" wrote:

You can try datavalidationallowcustom and use

=A3<"X"

that will prevent anyone typing anything in A4 (but not pasting)
if A3 holds "X"


Regards,

Peo Sjoblom

"JoeMNY" wrote:

Greetings,

I'm sure this is possible but I can't figure it out. How can I disable a
cell based on input in another cell. Example:

A1=Powered
A2=Glider
A3=
A4=

If an "X" is placed in A3, I want A4 disabled (locked).

TIA

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
Maintaining cell reference after sorting GRITS Excel Discussion (Misc queries) 2 April 30th 23 07:42 PM
Display actual contents of cell xmasbob Excel Discussion (Misc queries) 1 December 6th 04 05:09 PM
copy a cell value not its function KC Mao Excel Discussion (Misc queries) 2 December 4th 04 04:30 AM
copy paste cell character limit Fred Excel Discussion (Misc queries) 1 December 2nd 04 08:58 PM
Transferring cell content between workbooks using cell references Kiwi Mike Excel Discussion (Misc queries) 2 November 27th 04 11:31 PM


All times are GMT +1. The time now is 02:44 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"