Hello all...
Last year, member rylo, helped me with some VBA code for one of my projects. If you are reading this post, rylo, you might recall the VBA code that you helped me with...and maybe you can help me once more. Otherwise, maybe some other members can help me.
The VBA code below was provided by rylo last year. The code was designed to cycle through a list of teams...and FILL the background of each cell in the list with color...depending on which named range a match was found in.
This year I put together a slightly different spreadsheet and made the following changes to the VBA to conform to my new spreadsheet:
When I run the code, I get a Runtime error -' 1004': Method 'range' of object '_global' failed. (This error occurs on the VBA code line that is enlarged in the second version of the code, above. I tried to change the font color...but my color palette wouldn't open).
Three questions....
1. What part of the code did I change incorrectly? ...Or... Did I overlook any needed change(s)?
2. How can I format the font color along with the background color using this VBA?
3. The range $E$5:$AR$36 on sheet "MasterCopy" has been given a name.
Can't I replace the RANGE ($E$5:$AR$36) with the RANGE NAME ("Selections_MasterCopy")?
Thank you for any help you can provide....
Bookmarks