+ Reply to Thread
Results 1 to 8 of 8

Insert blank row based on Column value

  1. #1
    Registered User
    Join Date
    05-11-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    14

    Insert blank row based on Column value

    Hi Guys,

    I require my "Example Sheet" to in a Blank Row based ont he value in Column "C4 to C25". If the numbers is <6 than insert a blank row below.

    i.e. If C5 is Value is less than 6 than insert a new row below.

    Please find attached the sheet for your attention.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    01-17-2013
    Location
    Belgium
    MS-Off Ver
    Excel 2010
    Posts
    211

    Re: Insert blank row based on Column value

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    05-11-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Insert blank row based on Column value

    I copied the following code however it is not working. Thanks for trying though. Do i need to alter anything or just copy paste the code?

  4. #4
    Forum Contributor
    Join Date
    01-17-2013
    Location
    Belgium
    MS-Off Ver
    Excel 2010
    Posts
    211

    Re: Insert blank row based on Column value

    You might need to change the name "Example Sheet" in the code
    And ofcours it needs to be placed in a sub

    Please Login or Register  to view this content.
    If solved remember to mark Thread as solved , to mark your thread as Solved select Thread Tools and click Mark thread as Solved.

    I can't read the mind of my wife so then I get picture but no sound .... and then I mostly get the idea, same goes here picture your outcome and I get the idea.

  5. #5
    Registered User
    Join Date
    05-11-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Insert blank row based on Column value

    Obviously i am doing somethign wrong. Would you just able to upload the working sheet material for me if that is okey for you. Sorry to be the pain as i am not getting this to work at all. So Sorry once again.

  6. #6
    Forum Contributor
    Join Date
    01-17-2013
    Location
    Belgium
    MS-Off Ver
    Excel 2010
    Posts
    211

    Re: Insert blank row based on Column value

    wish i could but firewall setting do not allow file upload

    oven VBA editor once your in your file
    then insert new module
    copy below to the righthand-side
    Please Login or Register  to view this content.
    now make sure you have some values in C5-C6-C7-C8 and then click on play to execute macro

  7. #7
    Forum Contributor
    Join Date
    01-17-2013
    Location
    Belgium
    MS-Off Ver
    Excel 2010
    Posts
    211

    Re: Insert blank row based on Column value

    here you go , click button 1
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    05-11-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Insert blank row based on Column value

    Thank you so much. appreciate allt he help from you buddy. Thank you once again.

+ 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