Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Word > Word VBA

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 09-06-2014, 09:53 PM
Singh_Edm Singh_Edm is offline Windows 8 Office 2013
Advanced Beginner
 
Join Date: Jan 2014
Posts: 41
Singh_Edm is on a distinguished road
Default Make a certain font face and font color as default in a document.

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.
Reply With Quote
  #2  
Old 09-06-2014, 11:10 PM
gmayor's Avatar
gmayor gmayor is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 2,166
gmayor is a jewel in the roughgmayor is a jewel in the roughgmayor is a jewel in the roughgmayor is a jewel in the rough
Default

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)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
  #3  
Old 09-13-2014, 08:47 PM
Singh_Edm Singh_Edm is offline Windows 8 Office 2013
Advanced Beginner
 
Join Date: Jan 2014
Posts: 41
Singh_Edm is on a distinguished road
Default

Thank you for your response.
Reply With Quote
Reply

Tags
font color, macro font color, macro vba word
Please reply to this thread with any new information or opinions.

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add a font to the default font set ? byterbit Word 1 05-14-2014 02:49 PM
Set default type font, size, and color in rework of old presentation tenamor PowerPoint 1 12-21-2013 04:04 PM
change default font color to wdRed tinfanide Word VBA 6 06-07-2012 06:48 AM
Make Font Dropdown Change All Styles' Font trevorhiller Word 1 04-14-2012 02:14 AM
Have Docs always open in Default Font/Color... Jshopping Word 3 05-04-2011 06:57 AM


All times are GMT -7. The time now is 03:01 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
MSOfficeForums.com is not affiliated with Microsoft