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: 21
Default in XP, locked cells cannot be selected

Is there some way to get around XP's restriction from "clicking on" locked
cells? To turn checkmarks on and off in Win2k, I run the following code on
locked cells, but I get an error when I attempt to run the code in Office
XP.

Sub toggleCheckmark()
If ((Target.Column 8 And Target.Column < 15)) Then
If Range("G" & Target.Row) = "" Then
Range(Target).Value = ""
Else
If Range(Target).Value < "" Then
Range(Target).Value = ""
Else
Range(Target).Value = Chr(252)
End If
End If
End If
End Sub



 
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
Locked cells are still able to be selected with proper protection Jesse Excel Discussion (Misc queries) 2 March 2nd 10 04:06 PM
Locked worksheet & hyperlinks (w/ select locked cells unchecked) dgold82 Excel Discussion (Misc queries) 1 July 10th 09 09:42 PM
Multiple cells or columns are selected instead of selected cell or Mikey Excel Discussion (Misc queries) 1 April 29th 09 09:48 PM
Cells are selected but aren't displayed as selected Nifty Excel Discussion (Misc queries) 2 September 17th 06 07:22 PM
Put comments on a locked spreadsheet even though cells not locked RDP Excel Worksheet Functions 1 September 11th 05 11:59 PM


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"