Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Lock Cells with Specify Range If Cells contains value
Hi, Refer to Attachment, I have data in Range("A2:D3"), when button is pressed this range should be locked. and Range("A4:D16") should unlock. Everytime update button is pressed, the program should check Range("A2:D16"), and count which rows contain data, if row 1 & 2 contain data it should be locked, the rest should be unlock. Rgds Bernard +-------------------------------------------------------------------+ |Filename: Book1.zip | |Download: http://www.excelforum.com/attachment.php?postid=4874 | +-------------------------------------------------------------------+ -- bernardng ------------------------------------------------------------------------ bernardng's Profile: http://www.excelforum.com/member.php...o&userid=34117 View this thread: http://www.excelforum.com/showthread...hreadid=551284 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Lock cells | Excel Discussion (Misc queries) | |||
Lock or Unlock Range of Cells on Worksheet_Change Event | Excel Worksheet Functions | |||
Lock Cells | Excel Discussion (Misc queries) | |||
Excel should lock individual cells or range only | Excel Worksheet Functions | |||
Copy a formula to a range of cells via VB6 using .Range(Cells(row,col), Cells(row,col)).Formula= statement | Excel Programming |