MACRO

CA.E.Deepan Chakravarthy (CA and CS Executive) (462 Points)

09 June 2008  

Dear friends,

                    Presently i am doing a project. in that i had doubt, if i click the button it should insert the row and also should copy the formulas of previous row. for that i written below codings

Selection.EntireRow.Insert
    Range("E8:Z8").Select
    Selection.Copy
    Range("E11").Select
    ActiveSheet.Paste
    Application.CutCopyMode = True

      But my problem is this codings insert row after 'E11" only and always "E11". so please tell me how to insert row one after other i.e if i click the button it should first insert "E11' then "E12", "E13'' till atleast "E500"