+ Reply to Thread
Results 1 to 7 of 7

altered color palette

  1. #1
    Registered User
    Join Date
    10-15-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    13

    altered color palette

    Hi
    I work in a company that has altered the standard Excel color palette. Now one of my macros, which colours cells light yellow, does no longer produce the correct colour. I have tried to use RGB but could not work it out.
    Any suggestions?

    Please Login or Register  to view this content.

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,256

    Re: altered color palette

    Assuming you still have a yellow colour on the palette, fill the activecell with it and then use:
    Please Login or Register  to view this content.
    to get the value?
    Remember what the dormouse said
    Feed your head

  3. #3
    Registered User
    Join Date
    10-15-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: altered color palette

    Hmm,
    I failed to mention there is no longer a pale yellow colour on the palette,
    Rob

  4. #4
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,256

    Re: altered color palette

    Then you can't use one without altering the palette to include it.

  5. #5
    Registered User
    Join Date
    10-15-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: altered color palette

    I see;
    So I will need to include the adding to the palette of this specific color to the macro?

  6. #6
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,256

    Re: altered color palette

    Yes, assuming your company are OK with that. You can use the Workbook.Colors() array to change one of them.

  7. #7
    Registered User
    Join Date
    10-15-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    13

    Thumbs up Re: altered color palette

    Everything works flawlessly.
    To begin with, I create the colour palette according to my taste.
    Then start using it with my original macros.
    Thanks for your help
    Rob

+ 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