+ Reply to Thread
Results 1 to 4 of 4

coloring a row

  1. #1
    Registered User
    Join Date
    03-07-2012
    Location
    jaipur
    MS-Off Ver
    Excel 2007
    Posts
    50

    coloring a row

    hi all i want a macro which will search for word "employee name .........." in the cell A and from range a1 to a200 , wherever it finds Employee name the particular row gets colored from column a to column f.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: coloring a row

    Macro not necessary, use Conditional Formatting
    Select A1
    Create a new rule and select and "Use a formula to determine..." option
    Enter this formula
    =(LEFT(A1,13)="Employee name")
    format as required
    Use Format Painter to to copy to other cells
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    03-07-2012
    Location
    jaipur
    MS-Off Ver
    Excel 2007
    Posts
    50

    Re: coloring a row

    thanks for your reply , but i needed it in a macro please . can u do it for me ???

  4. #4
    Valued Forum Contributor WasWodge's Avatar
    Join Date
    08-02-2010
    Location
    Hampshire,England
    MS-Off Ver
    Office 365 and Office 2010
    Posts
    882

    Re: coloring a row

    Much as I agree that conditional formatting is the preferred option try....

    Please Login or Register  to view this content.
    If my solution worked (or not) please let me know. If your question is answered then please remember to mark it solved

    Computers are like air conditioners. They work fine until you start opening windows. ~Author Unknown

+ 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