kelly mort
Well-known Member
- Joined
- Apr 10, 2017
- Messages
- 2,169
- Office Version
- 2016
- Platform
- Windows
Hi,
I have TextBox1 where I am using vba to switch background color based on contents that appear in it. I currently have one color for the fonts.
One issue is that the color is not visible on some of the background.
I have used various font colors and having same issue.
My only option here is to manually set the font color to match the various background using the same condition I used to switch the background colors.
Before I do so, is it possible to get the best color blend for the stated situation above?
I mean a vba code to determine which color will be visible on a background?
Thanks
I have TextBox1 where I am using vba to switch background color based on contents that appear in it. I currently have one color for the fonts.
One issue is that the color is not visible on some of the background.
I have used various font colors and having same issue.
My only option here is to manually set the font color to match the various background using the same condition I used to switch the background colors.
Before I do so, is it possible to get the best color blend for the stated situation above?
I mean a vba code to determine which color will be visible on a background?
Thanks