Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7082347
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T07:02:21+00:00 2026-05-28T07:02:21+00:00

Excel 2003 had a simple …interior.colorindex and only 56 numbers. But, this is changed

  • 0

Excel 2003 had a simple …interior.colorindex and only 56 numbers. But, this is changed with Excel 2010 for better control.

Now while developing a program.. which is supposed to copy a cell color (in VBA) and put the same color of the cell to an Excel Shape depending on the cell contents… i was lost with several different objects like this:

For the Cell:

Sheets("Config").Range("E1").Interior.ThemeColor = 10
Sheets("Config").Range("E1").Interior.TintAndShade = -0.249977111117893 

For the Shape:

Activesheet.shapes("R3").fill.forecolor.objectthemecolor = 7
Activesheet.shapes("R3").fill.forecolor.brightness = 0.6
Activesheet.shapes("R3").fill.forecolor.schemecolor = 42
Activesheet.shapes("R3").fill.forecolor.tintandshade (and this doesn't even work)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T07:02:28+00:00Added an answer on May 28, 2026 at 7:02 am

    I have found a better simpler way which don’t require all the above different naming..

    All you need is:

    range("b9").Interior.Color
    

    which will return a long… like this for example: 682978 (of the hex color in decimal)

    And, you can set the color for the shape like this:

    .Shapes(xName).Fill.ForeColor.RGB = 682978 (some variable)
    

    Other useful notes are:

    range("h1").Interior.Color = rgb(0,123,124) 
    

    and, for printing in console

    ? rgb(0, 123, 124)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In Excel 2003, when I change Series.Interior.ColorIndex to a value I need, it has
I have created an Excel 2003 add-in that uses the CLR 2.0 and this
I Have an Excel 2003 file with a line similar to this: I need
Versions Excel 2003 Windows XP SimaPro 7.3.0 Developer Version Using a Work computer but
Is this feature in excel 2003? I can't seem to find any kind of
Simple question. Does anyone know an easy way to convert SpreadsheetML (Excel 2003 XML)
What is the maximum string length of PrintArea in Excel 2003 and 2010? I
via Excel 2003 vba I made dsn connection by this method Sub CreateDataSourceFile() Set
This is Excel 2003. I'd like to know how long it takes an external
i'm curently using Excel 2003 to generate reports, but i'm thinking of migrating to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.