+ Reply to Thread
Results 1 to 4 of 4

Changing Cell Formating if a cell value equals value from a range.

  1. #1
    Registered User
    Join Date
    07-18-2013
    Location
    Oxford
    MS-Off Ver
    Excel 2010
    Posts
    23

    Changing Cell Formating if a cell value equals value from a range.

    Hi,
    I am newbie in VBA. Could you please help me.

    I want to change background color and make text inside the cell in Bold if a cell in one sheet is equal to the one of the values in a specific range. (In a file I provided cells in 'Main' Sheet has change it's color in correspondance to the range A1:A9 in 'Reference list' Sheet)

    Thanks.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: Changing Cell Formating if a cell value equals value from a range.

    Hi radionut

    you mean to say whatever the list is avaiable in Reference list sheet if that name is showed in main sheet then that required name row should be bold right.
    Thanks - Naveed
    -----------------------------
    If the suggestion helps you, then Click * to Add Reputation
    To Attach File: Go Advanced>>Manage Attachments>>Add Files (In Top Right Corner)>>SelectFiles>>.........Locate Your File(s)>>Upload Files>>Done (In Bottom Right)
    1. Use [code] code tags [\code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    2. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

  3. #3
    Registered User
    Join Date
    07-18-2013
    Location
    Oxford
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Changing Cell Formating if a cell value equals value from a range.

    Quote Originally Posted by Naveed Raza View Post
    Hi radionut

    you mean to say whatever the list is avaiable in Reference list sheet if that name is showed in main sheet then that required name row should be bold right.
    Hi Naveed

    Yes cell in Main containing the same value as any of the cells in Reference list should be bold and with different background.

  4. #4
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: Changing Cell Formating if a cell value equals value from a range.

    Hi radionut

    Please check the attached file and let me know is it met your requirement or not.
    Attached Files Attached Files
    Last edited by Naveed Raza; 07-31-2013 at 02:05 AM.

+ 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. If Cell is in the certain range then it is equals to
    By Jarvin24 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-24-2013, 07:48 PM
  2. Replies: 2
    Last Post: 03-24-2013, 10:58 PM
  3. changing colour of cell if todays date equals the first day of the month
    By ConfusedaboutVBA in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-24-2013, 08:03 PM
  4. If 1 cell equals another in a range than equal to a 3rd cell
    By owenandy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-22-2012, 10:00 PM
  5. [SOLVED] If cell (I) is in this date range then it equals this cell
    By xodiak in forum Excel General
    Replies: 4
    Last Post: 07-05-2012, 09:05 AM

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