
Originally Posted by
rinocerinho
are you sure this can only be accomplished with VBA?
If you're happy to manually set the font of each character in the string, no.
If you wish to automate the process, yes.
Conditional Formatting, Custom Formatting are applied at a cell level rather than at an individual character level within the cell itself.
In terms of a VBA process...
To use the above, right click on the tab name containing the values of interest, select View Code and paste the above into the resulting window.
Thereafter, in a Macro enabled file, you will find that altering the values in Column A will lead to them being formatted as per your wishes.
I would state that formatting font as white is obviously risky unless you have modified the background fill colour (to something other than those colours used above).
You will need to save the file in a macro supported type - eg .xlsm ... or if you want to run in Compatibility Mode save as old .xls
Modify ranges etc to suit your own requirements... the above is meant purely as an example.
Bookmarks