+ Reply to Thread
Results 1 to 5 of 5

Color Correction

  1. #1
    Registered User
    Join Date
    04-08-2012
    Location
    Kansas, U.S
    MS-Off Ver
    Excel 2010
    Posts
    93

    Color Correction

    Hello All,

    Could some one point me in the direction of a list that would show the Numerical value for colors that the VBA usese in Excell.....

    I have the code below that changes the Button Back Color to Red untill certain fields are filled in and then it changes to Yellow or Green. Problem is it changes it to a Pink more than Red so Im looking for the Numerical for RED.

    Please Login or Register  to view this content.
    Thanks Again,
    Aeneren

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Color Correction

    Would Case 0: Me.CommandButton1.BackColor = vbred work?

  3. #3
    Registered User
    Join Date
    04-08-2012
    Location
    Kansas, U.S
    MS-Off Ver
    Excel 2010
    Posts
    93

    Re: Color Correction

    JieJenn

    Would Case 0: Me.CommandButton1.BackColor = vbred work?
    Tried that before, and i just tried it again and still errors out.

    Aeneren

  4. #4
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Color Correction

    hi Aeneren, try this option:

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    04-08-2012
    Location
    Kansas, U.S
    MS-Off Ver
    Excel 2010
    Posts
    93

    Re: Color Correction

    Watersev,

    Thanks Worked now i have Red Buttons instead of Pink

    Thanks
    Aeneren

+ 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