+ Reply to Thread
Results 1 to 3 of 3

Color Scheme Help

  1. #1
    Registered User
    Join Date
    11-20-2012
    Location
    Chicago
    MS-Off Ver
    Excel 2007
    Posts
    8

    Color Scheme Help

    Hey guys,

    Thanks in advance for the assistance. I have been having some trouble writing VBA code to have color of the cells B3:B16 in the Lottery tab in the model attached to change dynamically to match the respective color scheme in cells A1:A30 in the Opponent tab. I also am having trouble using VBA codes to dynamically change the border colors to match the ones defined in either the Opponent or NBA tabs.

    One last thing is on the Chicago Bulls tab. Cells B21:B35 have a data validation and the roster changes dynamically. I want to be able to hide cell B35 (or any other cell in that data validation range) if there is not an entry A21:A35.

    I appreciate the help.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: Color Scheme Help

    Please Login or Register  to view this content.
    and this from Marcol (2011?)
    Please Login or Register  to view this content.
    One last thing is on the Chicago Bulls tab. Cells B21:B35 have a data validation and the roster changes dynamically. I want to be able to hide cell B35 (or any other cell in that data validation range) if there is not an entry A21:A35.
    1. Created named formula OpponentManList: " =IF('Chicago Bulls'!$A21<>"",temp) "
    2. Created named range temp for range: $P$21:$37
    3. Created conditional data validation in B21:B35: " =OpponentManList "
    Attached Files Attached Files
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    11-20-2012
    Location
    Chicago
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Color Scheme Help

    thank you very much for the VBA color help. the conditional formatting, however, will not work. I have attached my most recent model and now have another question with regards to the color of the cells D9, D13, A18, A20, A25, and A27 in the 'Game Summary' tab. I want to attempt to copy the color scheme of the respective team, but cannot figure it out using VBA. I attempted to use copy me language in VBA, copying the cell A19's formatting from the 'Chicago Bulls' tab, but it did not work. Please let me know if you can help me out. Thank you again!!!
    Attached Files Attached Files

+ 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