Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Making some rows uneditable

Hi,
I wanted only some rows to be non editable by the user and rest of th
rows should be editable. I know that this is possible using th
protection option, but in this case it locks the whole worksheet. I wa
to lock only certain ranges in the worksheet without having to give an
password.
How can this be done?

Thanks,
Samee

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default Making some rows uneditable

Hi Sameer

Protection locks everything that you haven't spesifically marked "not
locked". So that's what you have to do, there are no "just a little
protection" methods anywhere.

--
HTH. Best wishes Harald
Followup to newsgroup only please

"sameerce " skrev i melding
...
Hi,
I wanted only some rows to be non editable by the user and rest of the
rows should be editable. I know that this is possible using the
protection option, but in this case it locks the whole worksheet. I wat
to lock only certain ranges in the worksheet without having to give any
password.
How can this be done?

Thanks,
Sameer


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 63
Default Making some rows uneditable

Hi sameerce;
For example (the user is likely to be surprised)

Dim oldCell As String

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If oldCell = "" Then oldCell = "A1"
Select Case Target.Row
Case 10, 12, 14, 16, 21 To 23: Range(oldCell).Select
Case Else: oldCell = Target.Address
End Select
End Sub

MP

"sameerce " a écrit dans le message de
...
Hi,
I wanted only some rows to be non editable by the user and rest of the
rows should be editable. I know that this is possible using the
protection option, but in this case it locks the whole worksheet. I wat
to lock only certain ranges in the worksheet without having to give any
password.
How can this be done?

Thanks,
Sameer


---
Message posted from http://www.ExcelForum.com/



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
Excel bug? cell comments become uneditable wildetudor Charts and Charting in Excel 0 January 21st 09 10:16 AM
can I make a tab in an excel document uneditable? blasttt Excel Discussion (Misc queries) 2 February 6th 08 02:00 PM
Comment becomes uneditable, cell flashes Charles Blaquière New Users to Excel 3 October 9th 07 04:33 AM
Pivot chart uneditable Hari Charts and Charting in Excel 3 May 24th 06 01:13 PM
How to Make Graphic Uneditable Chaplain Doug Excel Discussion (Misc queries) 2 June 1st 05 12:15 AM


All times are GMT +1. The time now is 11:04 PM.

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"