![]() |
#1
|
|||
|
|||
![]()
Hello there!
I have a 1100 page *.doc file where some words are green, some are red, some black and some blue. If I start typing after a red, green or black word, the typed letters take on the same color: red, green or black respectively. I want that whenever I type anywhere in the document, the default font color should be blue. The only exception is when I am inserting letters between the first and the last letter of an already colored word. The whole document has the same font face so that should remain unchanged. So what command/macro can I use? Please inform me if my question isn't clear. |
#2
|
||||
|
||||
![]()
Your question is clear enough, but I doubt that it is achievable. You can do it if you use VBA to insert the text, but typing will always take on the format at the cursor position.
Word formats using styles. It sounds as though this document may have been formatted manually, which can be a nightmare to handle when it comes to editing. If you want the default text to be blue, then you should set the font colour of the underlying paragraph style to blue. You should also create character styles in red, black and green. You can the apply the appropriate style to the text you are typing.
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#3
|
|||
|
|||
![]()
Thank you for your response.
|
![]() |
Tags |
font color, macro font color, macro vba word |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
byterbit | Word | 1 | 05-14-2014 02:49 PM |
![]() |
tenamor | PowerPoint | 1 | 12-21-2013 04:04 PM |
![]() |
tinfanide | Word VBA | 6 | 06-07-2012 06:48 AM |
![]() |
trevorhiller | Word | 1 | 04-14-2012 02:14 AM |
![]() |
Jshopping | Word | 3 | 05-04-2011 06:57 AM |