+ Reply to Thread
Results 1 to 4 of 4

Macro to Change Font Size Based on if Cell Contains Specific Text

  1. #1
    Registered User
    Join Date
    03-24-2016
    Location
    Ridgewood, NJ
    MS-Off Ver
    2011
    Posts
    2

    Macro to Change Font Size Based on if Cell Contains Specific Text

    Hello, everyone. I am looking for the script for a macro that changes the font size of a cell's text based on if that cell has a certain word. For example if the cell had the word "goal" it would be size 24, if it had the word "aim" it would be size 24, and else it would be size 12. Does anyone know code that would do this?

  2. #2
    Valued Forum Contributor
    Join Date
    05-14-2012
    Location
    Unknown
    MS-Off Ver
    Unseen
    Posts
    429

    Re: Macro to Change Font Size Based on if Cell Contains Specific Text

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-24-2016
    Location
    Ridgewood, NJ
    MS-Off Ver
    2011
    Posts
    2

    Re: Macro to Change Font Size Based on if Cell Contains Specific Text

    Does this apply to all cells in a spreadsheet or no?

  4. #4
    Valued Forum Contributor
    Join Date
    05-14-2012
    Location
    Unknown
    MS-Off Ver
    Unseen
    Posts
    429

    Re: Macro to Change Font Size Based on if Cell Contains Specific Text

    It applies to the cells that are selected. As in:
    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. How to change the font size based on value of the cell?
    By redsab in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-27-2013, 08:59 PM
  2. Replies: 6
    Last Post: 07-18-2013, 04:16 AM
  3. [SOLVED] Change font size in row based on cell value within specific column
    By Fullalove in forum Excel General
    Replies: 14
    Last Post: 06-27-2012, 05:51 PM
  4. Replies: 3
    Last Post: 07-06-2011, 01:30 PM
  5. Change font size based on a Cell Value
    By kalyanverma in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-21-2008, 11:39 AM
  6. Cell value specific font size change
    By Geoff C in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-06-2006, 05:15 AM
  7. [SOLVED] How do I "conditionally" change font size based on text length?
    By Found in Florida in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-10-2005, 07: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