Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Emily Diaz   on Nov 20 In MS Office Category.

  
Question Answered By: Caitlin Brown   on Nov 20


This is the generic method for applying color  to part of a cell.

ActiveCell.Characters(Start:=3, Length:=3).font _
.ColorIndex=4

You would vary the Start, Length, and ColorIndex for the result you want.

I would have a for-next loop to step through the relevant cells
In that I would have a for-next loop to step through the characters  in the
cell
In that I would have a select case structure based on the code of each
character to set the color index
Immediately after the end select you have the line to set the color of the
character.

Share: 

 

This Question has 4 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on how to color numeric character in excel cell ? Or get search suggestion and latest updates.


Tagged: