+ Reply to Thread
Results 1 to 10 of 10

VBA: Use colours in a list the brings the same colour through to a dropdown list

  1. #1
    Forum Contributor
    Join Date
    09-06-2011
    Location
    manchester england
    MS-Off Ver
    Office 365
    Posts
    307

    VBA: Use colours in a list the brings the same colour through to a dropdown list

    On the enclosed sheet on the FOUND tab on row three there are a selection of different housetypes, that are individually coloured.

    On the GWK matrix tab, I select the housetype i want from the drop down list.

    Is there a way for this also to bring through the cell colour from the found tab?
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2509 (Windows 11 Home 24H2 64-bit)
    Posts
    92,809

    Re: Use colours in a list the brings the same colour through to a dropdown list

    the ONLY way without VBA is to set up a conditional formatting rule for each house name.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Volunteer organiser & photographer with the Sutton Hoo Ship's Company: https://saxonship.org/
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    09-06-2011
    Location
    manchester england
    MS-Off Ver
    Office 365
    Posts
    307

    Re: Use colours in a list the brings the same colour through to a dropdown list

    Thank you that's what I have been doing, it was just there are a lot of housetypes and I just wondered if there was an easier way.

  4. #4
    Forum Contributor
    Join Date
    09-06-2011
    Location
    manchester england
    MS-Off Ver
    Office 365
    Posts
    307

    Re: Use colours in a list the brings the same colour through to a dropdown list

    Is there a way to move this to the VBA forum, or shall I close this and do a new post on VBA forum?

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2509 (Windows 11 Home 24H2 64-bit)
    Posts
    92,809

    Re: Use colours in a list the brings the same colour through to a dropdown list

    I will move it for you - thread duplication is not allowed.

  6. #6
    Forum Contributor
    Join Date
    09-06-2011
    Location
    manchester england
    MS-Off Ver
    Office 365
    Posts
    307

    Re: VBA: Use colours in a list the brings the same colour through to a dropdown list

    Thank you for your help

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2509 (Windows 11 Home 24H2 64-bit)
    Posts
    92,809

    Re: VBA: Use colours in a list the brings the same colour through to a dropdown list

    No worries.

  8. #8
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,713

    Re: VBA: Use colours in a list the brings the same colour through to a dropdown list

    Hi gjjh25,

    Try below code, I have also attached a file for your reference
    Please Login or Register  to view this content.
    Attached Files Attached Files
    If I was able to help, you can thank me by clicking the * Add Reputation under my user name

  9. #9
    Forum Contributor
    Join Date
    09-06-2011
    Location
    manchester england
    MS-Off Ver
    Office 365
    Posts
    307

    Re: VBA: Use colours in a list the brings the same colour through to a dropdown list

    Thank you that has done just what I wanted

  10. #10
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,713

    Re: VBA: Use colours in a list the brings the same colour through to a dropdown list

    Glad to help & thanks for the added Rep+

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 12-11-2019, 04:37 AM
  2. Replies: 5
    Last Post: 11-15-2018, 11:02 AM
  3. A Cell Which Brings Up a List of Options, then Brings Up Another List of Options
    By ForProse in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-09-2017, 11:56 AM
  4. Replies: 0
    Last Post: 08-22-2012, 03:52 PM
  5. Excel 2008 : Colour text inside dropdown list?
    By Bezy in forum Excel General
    Replies: 1
    Last Post: 07-13-2012, 06:43 AM
  6. Replies: 21
    Last Post: 12-02-2009, 03:27 PM
  7. Date dropdown list and a Time dropdown list in outlook
    By L_ter in forum Outlook Programming / VBA / Macros
    Replies: 3
    Last Post: 03-30-2009, 02:33 AM

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