+ Reply to Thread
Results 1 to 3 of 3

Get RGB values of Excel Color?

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    11-17-2009
    Location
    PA USA
    MS-Off Ver
    Excel 2000
    Posts
    184

    Get RGB values of Excel Color?

    Is it possible to get the RGB values currently assigned to an Excel color?

    For example, I would like to return the RGB values currently assigned to ActiveWorkbook.Colors(17)

    I can set the values of this color with this
    ActiveWorkbook.Colors(17) = RGB(txtRed.Value, txtGreen.Value, txtBlue.Value)

    Just wondering if somehow I can get these values back.

    Thank you for helping me.

    Excel 2000
    Last edited by proepert; 05-22-2010 at 04:58 PM.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Get RGB values of Excel Color?

    Shows a couple of ways.
    http://www.ozgrid.com/forum/showthread.php?t=142911
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Contributor
    Join Date
    11-17-2009
    Location
    PA USA
    MS-Off Ver
    Excel 2000
    Posts
    184

    Re: Get RGB values of Excel Color?

    Thank you very much.

+ 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