Hi Kenneth,
Thanks for your reply. I am going to copy the full code below and try to give a better explanation of what is happening. After the election, I wanted to create an electoral map so next election I can try to project the path to Presidency similarly to how the do it on the news. I have a map of the 50 states. With my current code, you click the state and it will change either red, blue or white. This represents Republicans, Democrats and Undecided. The color of the shape feeds into a table that will pull the electoral amount for that state and add them up for the respective party. This code currently works for 48 of the 50 states.
The two states that do not work are Michigan and Hawaii. Michigan and Hawaii on the map are a group of shapes rather than one individual shape - Hawaii with it's multiple islands and Michigan with the lower and upper peninsula. The code breaks when you click on a group rather than an individual shape. I am not opposed to having separate macros for these two states but I cannot come up with a way that will work to change a group of shapes and cycle through them like "Case" does.
Map.JPG
Bookmarks