Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 31
Default INSERTING ROWS IN PROTECTED WORKSHEET

I am using the macro from Dave McRitohie
(http://www.mvps.org/dmcritchie/excel/insrtrow.htm) to insert rows in a
spreadsheet and include only the formulas in the inserted rows. The problem
I am having is that I also want to lock my spreadsheet so that users cannot
type over the formulas, when I run the macro in a locked spreadsheet, it
inserts the rows but gives me an error: Run-time error'1004': the cell or
chart you are trying to change is protected and therefore read-only...

Also, I have a formula in my spreadsheet to calculate holding times and take
into consideration weekends, evenings, and holidays... or so I thought. It
counted the 4th of July as a regular working day instead of a holiday. Here
is my formula:

=IF(G12="NA",(NETWORKDAYS(D12,K12)-1)/2.67+(L12-E12),(NETWORKDAYS(G12,K12)-1)/2.67+(L12-H12))

Can anyone help me?
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
Inserting rows into worksheets that are protected Chris R Excel Worksheet Functions 3 November 18th 05 01:54 PM
In a protected worksheet allow users to delete rows Jason Trivett Excel Worksheet Functions 1 July 12th 05 09:50 AM
protection and inserting rows tee Excel Worksheet Functions 1 July 10th 05 03:25 PM
how to hide rows in a protected sheet Prakash Excel Worksheet Functions 7 January 18th 05 02:42 PM
How use group and ungroup functions while worksheet is protected Gabriel De la Garza Excel Worksheet Functions 1 November 17th 04 01:44 AM


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