+ Reply to Thread
Results 1 to 7 of 7

Macro to Seach word and color the row till G coloum.

  1. #1
    Forum Contributor
    Join Date
    07-17-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    713

    Macro to Seach word and color the row till G coloum.

    Hello Friends,

    I am working in this file, which has a multiple table in single sheet. Each table has a grand total at the bottom. I am trying to add macro in excel which search the Grand Total in sheet and add color in that entire row upto column H. Is this be possible?

    I found this
    Please Login or Register  to view this content.
    This does the entire row. But I need coloring till Coloumn H only.

    Thanks.
    Last edited by shiva_reshs; 01-29-2013 at 02:57 PM. Reason: Solved

  2. #2
    Valued Forum Contributor
    Join Date
    06-19-2010
    Location
    Holywell, N Wales, UK
    MS-Off Ver
    Excel 2013
    Posts
    470

    Re: Macro to Seach word and color the row till G coloum.

    Yes it is possible but please post an example worksheet to show us the layout of your data.
    If this was helpful then please click the small star icon at the bottom left of my post. A little appreciation goes a long way.

  3. #3
    Forum Contributor
    Join Date
    07-17-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    713

    Re: Macro to Seach word and color the row till G coloum.

    Hey,

    Thanks for you reply. I am at office right now, so wont be able to upload any document. I have to go to home to do it from my home PC.

    If is just a simple sheet with Row 10, row 20, row 30 and row 40 has "Grand Total" in the Coloum A. I need it to have color till Coloum H in front of each Grand total rows.

    If you need a file, i can upload it from my home but later in the evening.

    Thanks for your quick reply.

    Regards

  4. #4
    Valued Forum Contributor
    Join Date
    06-19-2010
    Location
    Holywell, N Wales, UK
    MS-Off Ver
    Excel 2013
    Posts
    470

    Re: Macro to Seach word and color the row till G coloum.

    shiva_reshs
    One way, assuming the "Grand Total" text is in col A

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    07-17-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    713

    Re: Macro to Seach word and color the row till G coloum.

    Thanks Barry, It works like a charm. However, can I tweak the color into below color.

    Please Login or Register  to view this content.
    Thanks for your help.
    Regards
    Shiva

  6. #6
    Valued Forum Contributor
    Join Date
    06-19-2010
    Location
    Holywell, N Wales, UK
    MS-Off Ver
    Excel 2013
    Posts
    470

    Re: Macro to Seach word and color the row till G coloum.

    shiva_reshs
    Yes, essentially, just replace my 'colour' line with your coding

    Please Login or Register  to view this content.
    If this meets your requirement please mark your thread as SOLVED
    barry

  7. #7
    Forum Contributor
    Join Date
    07-17-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    713

    Re: Macro to Seach word and color the row till G coloum.

    Thanks, It worked.

    Regards,

+ 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