+ Reply to Thread
Results 1 to 5 of 5

macro to change font color of a cell

  1. #1
    Registered User
    Join Date
    07-22-2004
    Posts
    89

    macro to change font color of a cell

    I want 3 macros called R, and G, and B.

    I select a cell, then I hit R and the font color goes to RED. Done
    G goes to green.
    and B goes to blue.

    any help???

    thanks very much

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

    Re: macro to change font color of a cell

    Say you wanted to type the word READING into a cell after selecting it. How would Excel know that you were actually typing the letter R and didnt want to change the font colour?
    Same question for G and B.
    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
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: macro to change font color of a cell

    try to record a macro, name it ctrl+r (for red) and you find yourself a solution. you'll feel better!
    Regards, John55
    If you have issues with Code I've provided, I appreciate your feedback.
    In the event Code provided resolves your issue, please mark your Thread as SOLVED.
    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

    ...enjoy -funny parrots-

  4. #4
    Registered User
    Join Date
    07-22-2004
    Posts
    89

    Re: macro to change font color of a cell

    hotkey to run the macro, e.g,
    CTRL-SHIFT-R
    CTRL-SHIFT-G
    CTRL-SHIFT-B

  5. #5
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: macro to change font color of a cell

    this can be a start
    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)

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