Hello I have searched and attempted to implement many various macros to do what I am looking for, but I have not been successful. Could anyone give me an excel sheet that has the macro already setup for doing the following.
I have a list of HEX codes I am using for a bar plot in R
I want to put the list into excel and then have the color of the HEX code print into a box in excel (so it will end up looking like a column of different colors based on my hex code). Then I want to name each color with the name that corresponds to my bar plot in R. So for instance, if I have a bar plot of the following 5 colors I am basically using excel to make the legend. So then instead of seeing the hex code, I would love to have the cell just filled with the appropriate color <pink> in the cell next to the organism name....
#803c5b <pink> organismA
#d8c2b8 <salmon> organismB
#7e4043 <red> organismC
#dbbed1 <pink> organismD
#6f4940 organismE
#6e475b organismF
Thank you so much for your help with this matter, I really don't understand macros....I can't get them to work.
Cheers
Anna
I have a list of HEX codes I am using for a bar plot in R
I want to put the list into excel and then have the color of the HEX code print into a box in excel (so it will end up looking like a column of different colors based on my hex code). Then I want to name each color with the name that corresponds to my bar plot in R. So for instance, if I have a bar plot of the following 5 colors I am basically using excel to make the legend. So then instead of seeing the hex code, I would love to have the cell just filled with the appropriate color <pink> in the cell next to the organism name....
#803c5b <pink> organismA
#d8c2b8 <salmon> organismB
#7e4043 <red> organismC
#dbbed1 <pink> organismD
#6f4940 organismE
#6e475b organismF
Thank you so much for your help with this matter, I really don't understand macros....I can't get them to work.
Cheers
Anna