+ Reply to Thread
Results 1 to 5 of 5

when specific text is entered in a cell add a new row below with formula as above row

  1. #1
    Registered User
    Join Date
    11-25-2012
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2010
    Posts
    4

    when specific text is entered in a cell add a new row below with formula as above row

    hi i am new to this forum. found some great solutions and thought of posting my specific issue. i am also very new to VBA.

    i am creating a payment tracker table on excel. when a specific text is entered in either column' E, H or K like "Doc. Incomplete" i want to automatically insert a row below. but this row should also copy the formula from the existing rows.

    Ex: Row 7 has multiple conditional formatting and formulas. if users enters Doc. "Incomplete" in E7 a new row (8) to be inserted copying all of Row 7's formatting and formula

    in another thread i found a coding and modified it as follows

    Please Login or Register  to view this content.
    it does insert a row but not copy formula.

    please help

    Moderator's Note: As per Forum Rule #3, please use code tags…Thanks.
    Attached Files Attached Files
    Last edited by jeffreybrown; 11-25-2012 at 11:12 PM.

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: when specific text is entered in a cell add a new row below with formula as above row

    try this
    Please Login or Register  to view this content.
    If solved remember to mark Thread as solved

  3. #3
    Registered User
    Join Date
    11-25-2012
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: when specific text is entered in a cell add a new row below with formula as above row

    Patel45,
    thank you very much. it works partially. while it does create a row below and copies formula, it also creates 8 copies of the row. and if i try it again it created 32 new rows.

    not sure how this happens

    thank you though appreciate your help

  4. #4
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: when specific text is entered in a cell add a new row below with formula as above row

    I'm sorry
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    11-25-2012
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: when specific text is entered in a cell add a new row below with formula as above row

    Patel45

    Brilliant:
    it worked. thank you so much.

    Mo

+ 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