I want to write a function that compares the format of the cell it's used in to the formats of each cell in a dynamic list of cells.
Once I've got the format (style and font color) stored in an array, I will step through the list of cells and compare their style and font colors to those stored in the array. If both match a counter variable is incremented.
I have a good idea how I'm going to do the comparison and I know how to get the formating of the "list cells".
Here's my big problem:
I'm not sure how to get the format of whatever cell uses the function.
Once I've got the format (style and font color) stored in an array, I will step through the list of cells and compare their style and font colors to those stored in the array. If both match a counter variable is incremented.
I have a good idea how I'm going to do the comparison and I know how to get the formating of the "list cells".
Here's my big problem:
I'm not sure how to get the format of whatever cell uses the function.