Good morning, I am trying to create a heat map of the US that changes the shade of each state based on the values in another table range (B1:F45). There are 6 "tiers" of shade for each range of values:
[TABLE="width: 146"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]RGB(255,255,255)[/TD]
[/TR]
[TR]
[TD]1-140
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]RGB(235,241,222)[/TD]
[/TR]
[TR]
[TD]141-280[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]RGB(216,228,188)[/TD]
[/TR]
[TR]
[TD]281-420[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]RGB(196,215,155)[/TD]
[/TR]
[TR]
[TD]421-560[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]RGB(118,147,60)[/TD]
[/TR]
[TR]
[TD]561-700[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]RGB(79,98,40)[/TD]
[/TR]
</tbody>[/TABLE]
I have created three tables. The first connects the state abbreviation to the shape of the object/state. The second connects the abbreviation of the state to the values that will change. The third changes the connects the value to the color scheme that I want to be reflected based on each value.
This third table is where I am having the difficulty. I created my spreadsheet based on the tutorial in this link but the link in the "MapValuetoColor" table that contains the connecting RGB code to the objects is broken and I do not know what to do next.
I am a VBA novice which is causing me a difficult time figuring out how to get these objects to changed based on the values in the table. Can anyone help me to determine how to get the states to change based on this criteria? Thank you in advance.
[TABLE="width: 146"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]RGB(255,255,255)[/TD]
[/TR]
[TR]
[TD]1-140
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]RGB(235,241,222)[/TD]
[/TR]
[TR]
[TD]141-280[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]RGB(216,228,188)[/TD]
[/TR]
[TR]
[TD]281-420[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]RGB(196,215,155)[/TD]
[/TR]
[TR]
[TD]421-560[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]RGB(118,147,60)[/TD]
[/TR]
[TR]
[TD]561-700[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]RGB(79,98,40)[/TD]
[/TR]
</tbody>[/TABLE]
I have created three tables. The first connects the state abbreviation to the shape of the object/state. The second connects the abbreviation of the state to the values that will change. The third changes the connects the value to the color scheme that I want to be reflected based on each value.
This third table is where I am having the difficulty. I created my spreadsheet based on the tutorial in this link but the link in the "MapValuetoColor" table that contains the connecting RGB code to the objects is broken and I do not know what to do next.
I am a VBA novice which is causing me a difficult time figuring out how to get these objects to changed based on the values in the table. Can anyone help me to determine how to get the states to change based on this criteria? Thank you in advance.