I have a VBA formula (in italic) below:
What I want to show this when I display this symbol in cells is a red heart symbol but A in normal black colour. How can this be achieved?![]()
Please Login or Register to view this content.
I have a VBA formula (in italic) below:
What I want to show this when I display this symbol in cells is a red heart symbol but A in normal black colour. How can this be achieved?![]()
Please Login or Register to view this content.
Last edited by one8421; 08-20-2010 at 10:48 AM.
Like so:
![]()
Please Login or Register to view this content.
Please edit your post above and put [code] tags around the code, like I've shown here.
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use theicon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
?None of us is as good as all of us? - Ray Kroc
?Actually, I *am* a rocket scientist.? - JB (little ones count!)
Thanks for your quick reply. This can solve some of my problem. But I am actually looking at wherever I paste the value "HeartSymbol" anywhere in the spreadsheet, it will appears in red colour. It is doable?
I've shown you the syntax for changing the color of a single character in a text string. You have to name the cell, then starting position in the string and the number of characters you are formatting the color.
You will need to adapt that technique to your other possible scenarios. The technique shown changes the first character to red.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks