LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Locking all cells of a given color in a given range

Hi.

I'm trying to write a macro to look at all cells in a named range
("input_range") and 1) lock them if interior.colorindex = xlnone or 2)
unlock them if interior.colorindex = 36.

This routine should be called when a given cell's picklist value is
changed. The cell with the picklist is actually two merged cells, and
I've created a named range called "input_begin" for the picklist.

Can somebody please recommend an approach? Thanks!

-Michael

*** Sent via Developersdex http://www.developersdex.com ***
 
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
Change the color of a range of cells Srajes New Users to Excel 6 June 24th 09 08:02 PM
change the color of a range of cells Srajes Excel Discussion (Misc queries) 1 June 24th 09 03:47 PM
locking formula in cells in without locking whole sheet SuziQ Excel Discussion (Misc queries) 1 July 21st 06 03:58 PM
change fill color of a range of cells based on color of a cell? DarMelNel Excel Programming 0 March 2nd 06 06:35 PM
Color Range of Cells halem2[_57_] Excel Programming 5 January 18th 06 01:32 PM


All times are GMT +1. The time now is 01:29 PM.

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"