+ Reply to Thread
Results 1 to 3 of 3

Excel Macro that finds red text and fills same row with light blue

  1. #1
    Registered User
    Join Date
    06-12-2014
    Posts
    4

    Question Excel Macro that finds red text and fills same row with light blue

    I am trying to write a macro that will find all rows with red text in column A of sheet 2 and give that row a light blue fill. I have successfully wrote a macro for one row, but I am not sure how to repeat this without copy/paste since I need it for 200 rows. Here is the macro:


    Please Login or Register  to view this content.
    I would rather not use conditional formatting since all the other coding for the sheet is in a macro. Although if conditional formatting is much easier, that is fine.

    Thanks!

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Excel Macro that finds red text and fills same row with light blue

    Try:
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    06-12-2014
    Posts
    4

    Re: Excel Macro that finds red text and fills same row with light blue

    Thank you! This worked

+ 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] VBA macro issue, finds text not numbers.
    By kokapelly in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-26-2013, 01:37 PM
  2. Replies: 0
    Last Post: 04-22-2013, 12:13 PM
  3. Getting rid of light blue lines
    By Jodie25 in forum Excel General
    Replies: 3
    Last Post: 06-04-2009, 01:45 PM
  4. [SOLVED] macro that finds text and keeps only part of it
    By john mcmichael in forum Excel General
    Replies: 5
    Last Post: 10-18-2005, 06:05 PM
  5. Creating light text in Excel using XP
    By Stacie in forum Excel General
    Replies: 2
    Last Post: 08-20-2005, 12:05 PM

Tags for this Thread

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