#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 123
Default protecting cells

i'm making a spreadsheet that needs a lot of protection as there are many
users...so i need to protect all the formulas but based on how i'm doing it,
no one can insert rows....what can i do?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default protecting cells

How will users select which rows to insert?

You could write code that would unprotect, insert rows at user's pre-defined
selection then re-protect the sheet.

Add a button for user to hit after selecting where to insert the rows.

Sub insertrows()
ActiveSheet.Unprotect Password:="justme"
Selection.EntireRow.Insert
ActiveSheet.Protect Password:="justme"
End Sub


Gord Dibben MS Excel MVP


On Mon, 2 Jun 2008 18:11:07 -0700, Tami wrote:

i'm making a spreadsheet that needs a lot of protection as there are many
users...so i need to protect all the formulas but based on how i'm doing it,
no one can insert rows....what can i do?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 123
Default protecting cells

good idea...will try....thx

"Gord Dibben" wrote:

How will users select which rows to insert?

You could write code that would unprotect, insert rows at user's pre-defined
selection then re-protect the sheet.

Add a button for user to hit after selecting where to insert the rows.

Sub insertrows()
ActiveSheet.Unprotect Password:="justme"
Selection.EntireRow.Insert
ActiveSheet.Protect Password:="justme"
End Sub


Gord Dibben MS Excel MVP


On Mon, 2 Jun 2008 18:11:07 -0700, Tami wrote:

i'm making a spreadsheet that needs a lot of protection as there are many
users...so i need to protect all the formulas but based on how i'm doing it,
no one can insert rows....what can i do?



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
Protecting cells Freddie Mac Excel Discussion (Misc queries) 4 July 1st 06 04:10 PM
Protecting Cells Pedro Excel Discussion (Misc queries) 2 June 8th 06 06:25 PM
Protecting cells GregP1962 Excel Discussion (Misc queries) 2 June 7th 06 10:55 PM
Protecting Cells KK Excel Discussion (Misc queries) 0 October 7th 05 12:21 AM
Protecting Cells Katie Excel Worksheet Functions 0 September 16th 05 03:36 PM


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