LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default InsertRowsAndFillFormulas

Good morning,

I wish to seek advice on this procedure as in
http://www.mvps.org/dmcritchie/excel/insrtrow.htm

I made two alterations to facilitate testing:

Delete Optional vRows As Long = 0 to
Sub InsertRowsAndFillFormulas()

Set vRows = 1 in place of the If...End If msgbox

Results:
insert row, OK
autofill row, OK
clear constants, OK
BUT
the formulae in the original rows (now pushed down) remain as they were.

I also cannot understand why we have:
x = Sheets(sht.Name).UsedRange.Rows.Count
unless there is a missing procedure to replace formulae from relevant cells
down to row(x)

This procedure has been looked at so many times since 1987 and am sure it is
working.
What have I missed please?

Regards
KC


 
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
InsertRowsAndFillFormulas Leslie Barberie Excel Programming 6 May 18th 04 12:16 PM
InsertRowsAndFillFormulas Leslie Barberie Excel Programming 1 May 10th 04 06:29 PM
InsertRowsAndFillFormulas Macro Leslie Barberie Excel Programming 1 May 10th 04 01:27 PM
InsertRowsAndFillFormulas David McRitchie Excel Programming 2 May 6th 04 05:46 PM
InsertRowsAndFillFormulas Frank Kabel Excel Programming 0 May 5th 04 10:49 PM


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