![]() |
#1
|
||||
|
||||
![]()
Is there a good way to test whether a character is one that would be displayed on screen and printed?
I'm working on a little macro to change each character in a string of text to a random color according to some theme. For the Christmas theme, each letter would be changed to red or green. For Halloween, orange or black. The macro limits the number of consecutive characters that can be assigned the same color. The problem is that non-printing characters, like space and tab, defeat the limit. If I set the limit to 3, then the macro will not allow more than three consecutive characters to be assigned the same color. But it will happily allow three characters on either side of a space to all be red as long as the space is green. But since the space is non-printing, it looks like there are 6 red characters. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Printable Area issues | zaineyma | Word | 3 | 12-12-2012 09:11 AM |
![]() |
cmc89 | Excel | 1 | 03-29-2012 03:41 PM |
Printable Entry Form | eJames | Excel | 1 | 01-07-2010 09:50 AM |
Making template that is not printable | Askaleto | Word | 0 | 10-14-2009 11:45 AM |
Defining Printable Areas | OfficeUser00939 | Word | 5 | 06-29-2009 09:04 AM |