+ Reply to Thread
Results 1 to 4 of 4

Confused With modify Insert Row below base on cell value

  1. #1
    Forum Contributor
    Join Date
    03-11-2009
    Location
    Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    252

    Confused With modify Insert Row below base on cell value

    Hello,
    I found the code like this:
    Please Login or Register  to view this content.
    with a code that will insert a row but above the target cell in column "C" when value greater than Zero, how to modify the code to insert the blank row below?
    thanks in advance
    Last edited by herukuncahyono; 07-05-2013 at 09:29 PM.

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Confused With modify Insert Row below base on cell value

    Please Login or Register  to view this content.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Confused With modify Insert Row below base on cell value

    Perhaps change
    Rows(i).EntireRow.Insert to
    Rows(i+1).EntireRow.Insert
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Forum Contributor
    Join Date
    03-11-2009
    Location
    Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    252

    Re: Confused With modify Insert Row below base on cell value

    hi Palmetto ,MarvinP

    both suggestion works well
    Thank you very much

+ 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