+ Reply to Thread
Results 1 to 6 of 6

Copy entire row to a new sheet when cell value is less than 100

  1. #1
    Registered User
    Join Date
    04-03-2012
    Location
    Oxford
    MS-Off Ver
    Excel 2010
    Posts
    3

    Copy entire row to a new sheet when cell value is less than 100

    Hi

    I have looked through the forums but have been unable to find a fix for my specific problem.

    I have a worksheet named "Forecast" that has numerous rows all with a "next due" column, currently column C, with a number value. What I would like to do is when the Column C value falls below 100, copy the entire row into a new worksheet named "Next Due Report".

    I need to keep the original row intact.

    Is there a simple macro that i could use to do this automatically for me.

    Thanks for your help.

    Damian

  2. #2
    Valued Forum Contributor
    Join Date
    08-29-2011
    Location
    Mississauga, CANADA
    MS-Off Ver
    Excel 2010
    Posts
    503

    Re: Copy entire row to a new sheet when cell value is less than 100

    Use this

    Please Login or Register  to view this content.
    Regards,
    Khaled Elshaer
    www.BIMcentre.com

    Remember To Do the Following....
    1. Thank those who have helped you by clicking the Star below their post.
    2. Mark your post SOLVED if it has been answered satisfactorily:
    • Select Thread Tools (on top of your 1st post)
    • Select Mark this thread as Solved

  3. #3
    Registered User
    Join Date
    04-03-2012
    Location
    Oxford
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Copy entire row to a new sheet when cell value is less than 100

    Forgive me I am new to this, but how do i run the macro. I have added the code to my worksheet and saved it as a macro-enabled worksheet, but i am not seeing any information in the next due report?

    Thanks

    Damian

  4. #4
    Valued Forum Contributor
    Join Date
    08-29-2011
    Location
    Mississauga, CANADA
    MS-Off Ver
    Excel 2010
    Posts
    503

    Re: Copy entire row to a new sheet when cell value is less than 100

    press ALT + F8 then run the macro from the dialog

  5. #5
    Registered User
    Join Date
    04-03-2012
    Location
    Oxford
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Copy entire row to a new sheet when cell value is less than 100

    Hi I have tried this and it comes up with a "400" error from visual basic.

  6. #6
    Valued Forum Contributor
    Join Date
    08-29-2011
    Location
    Mississauga, CANADA
    MS-Off Ver
    Excel 2010
    Posts
    503

    Re: Copy entire row to a new sheet when cell value is less than 100

    this macro assumes that there is no sheet with the naem "Next Due Report". If this sheet already exists before you run the macro then it will give an error

+ 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