+ Reply to Thread
Results 1 to 3 of 3

Add New Row with formulaes

  1. #1
    Forum Contributor bengaluru's Avatar
    Join Date
    06-10-2005
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    150

    Add New Row with formulaes

    Hello friends

    I have a "Add new Row" button that adds a new row at the top of the sheet. My code is

    Please Login or Register  to view this content.
    Although it adds a new row at the top, it does not add the formulaes in some of the cells - even the simple ones such as "=B16"

    What do I have to do to get the formulaes as well in the new row ?

    Thanks for your help.
    Last edited by bengaluru; 09-08-2011 at 02:43 PM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Add New Row with formulaes

    Hello bengaluru,


    Here is the macro. After the new row is added, the row above and all the rows must be updated using the Fill Down method.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Forum Contributor bengaluru's Avatar
    Join Date
    06-10-2005
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    150

    Re: Add New Row with formulaes

    Excellent Leith Ross. Thank you so much for the quick solution. It works absolutely.

    Have a great day.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1