+ Reply to Thread
Results 1 to 4 of 4

How to get only rows in result sheet

  1. #1
    Registered User
    Join Date
    05-03-2014
    Location
    bangalore
    MS-Off Ver
    Excel 2010
    Posts
    3

    How to get only rows in result sheet

    I have written the VBA code to color any figure above 15, but it display rows above 15 as red including other rows.
    Below is the VBA code
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Which shows the output as Workbook1.jpg but my query is how to get output which contains only rows above 15 with red

  2. #2
    Forum Expert
    Join Date
    08-02-2013
    Location
    Québec
    MS-Off Ver
    Excel 2003, 2007, 2013
    Posts
    1,412

    Re: How to get only rows in result sheet

    What do you want to do exactly?

    You want to color full row only if all values in this row are > 15?
    GC Excel

    If this post helps, then click the star icon (*) in the bottom left-hand corner of my post to Add reputation.

  3. #3
    Registered User
    Join Date
    05-03-2014
    Location
    bangalore
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: How to get only rows in result sheet

    Thanks for reply
    I am expecting output like this
    " " A B C D E
    1 4 8 12 16 20
    2 5 10 15 20 25
    3 6 12 18 24 30
    4 7 14 21 28 35
    5 8 16 24 32 40
    6 9 18 27 36 45
    7 10 20 30 40 50
    Last edited by simplymanasmandal; 05-04-2014 at 03:44 PM.

  4. #4
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: How to get only rows in result sheet

    Hello simlymanasmandal,

    Delete your VBA Code for ColorCells, and handle that with Conditional formatting.

    A sample Workbook, would have been of much greater help though.

    Regards.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  5. #5
    Forum Expert
    Join Date
    08-02-2013
    Location
    Québec
    MS-Off Ver
    Excel 2003, 2007, 2013
    Posts
    1,412

    Re: How to get only rows in result sheet

    Hi,
    If I understand correctly what you want, please try this code :

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] print result cards automatically from result sheet
    By excellover2212 in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 04-25-2014, 05:24 PM
  2. Convert Text into multiple rows and search result in next sheet
    By Bathi Anusha in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-11-2014, 09:30 AM
  3. Replies: 0
    Last Post: 04-11-2012, 11:49 AM
  4. VBA code: copy rows to another sheet and show all related result
    By kamioza in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-03-2010, 04:47 AM
  5. problem comparing rows and copying result to another sheet
    By mehdoush in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-15-2009, 02:07 PM

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