Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default Protect - Certain Rows / Columns

In excel you can protect the whole worksheet to be protected.

Is there a way to protect only certain rows / columns?

I dont want to do the cell protection because that would take too long.

What would be nice is to protect columns a-e and let the users do what
they want for the rest of the sheet.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default Protect - Certain Rows / Columns


RigasMinho wrote:
In excel you can protect the whole worksheet to be protected.

Is there a way to protect only certain rows / columns?

I dont want to do the cell protection because that would take too long.

What would be nice is to protect columns a-e and let the users do what
they want for the rest of the sheet.


Never mind - i figured it out.

i would have to select the cells first and lock the ones i want to be
protected.

then i would have to unlock the ones i dont want to be protected.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Protect - Certain Rows / Columns

Range("A:E").Cells.Locked = True
Range("F:IV").Cells.Locked = False
Activesheet.Protect Password:="ABC"

--
Regards,
Tom Ogilvy


"RigasMinho" wrote:

In excel you can protect the whole worksheet to be protected.

Is there a way to protect only certain rows / columns?

I dont want to do the cell protection because that would take too long.

What would be nice is to protect columns a-e and let the users do what
they want for the rest of the sheet.


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
How can I protect a sheet so the rows/columns can't be deleted? Dani Excel Worksheet Functions 1 April 8th 09 07:22 PM
Protect Hidden Columns and Rows Jeremy Excel Discussion (Misc queries) 1 April 29th 08 09:58 PM
Protect hidden rows/columns -macro help ttbbgg Excel Discussion (Misc queries) 4 October 25th 06 04:20 PM
Can I protect columns w/in a "List" using Protect Sheet? Diane Excel Discussion (Misc queries) 0 May 10th 06 03:30 PM
Protect Rows depending on Values in Particular Columns [email protected] Excel Programming 0 July 14th 05 01:11 PM


All times are GMT +1. The time now is 05:07 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"