Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default how do I insert row keeping formulas from previous row?

I've developed a protected sheet in excel 2003. I have protection set to
allow inserting rows. Unfortunately, the inserted row doesn't have formulas
of columns from previous row. Any way to do this?

Because what happens is users simply unprotect the sheet, and then copy and
insert rows in order to keep formulas intact in the inserted row. Of course
I don't want them unprotecting the sheet because then they can reek havoc.

Advice? Many thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default how do I insert row keeping formulas from previous row?

You could give them a macro that would unprotect the worksheet, insert a new
row, copy|paste the values and formulas to the new row, delete the values in
that new row (if you want) and then reprotect the sheet.

If you want to try, start at David McRitchie's site:
http://www.mvps.org/dmcritchie/excel/insrtrow.htm
look for: InsertRowsAndFillFormulas

If you're new to macros:

Debra Dalgleish has some notes how to implement macros he
http://www.contextures.com/xlvba01.html

David McRitchie has an intro to macros:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Ron de Bruin's intro to macros:
http://www.rondebruin.nl/code.htm

(General, Regular and Standard modules all describe the same thing.)

Todd108 wrote:

I've developed a protected sheet in excel 2003. I have protection set to
allow inserting rows. Unfortunately, the inserted row doesn't have formulas
of columns from previous row. Any way to do this?

Because what happens is users simply unprotect the sheet, and then copy and
insert rows in order to keep formulas intact in the inserted row. Of course
I don't want them unprotecting the sheet because then they can reek havoc.

Advice? Many thanks


--

Dave Peterson
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
insert row keeping borders Lise Excel Discussion (Misc queries) 1 May 6th 06 05:36 PM
Copy old Data from web query while keeping previous days data DRobidoux Excel Worksheet Functions 0 March 22nd 06 01:56 PM
Insert some cells by keeping the title block as same S.G.Pillai Excel Discussion (Misc queries) 0 February 27th 06 01:19 PM
Insert a new row with data from previous row Lynn Bales New Users to Excel 1 October 3rd 05 07:04 AM
insert from previous worksheets melzki Excel Worksheet Functions 2 February 23rd 05 06:11 PM


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