A Microsoft Word forum. Microsoft Office Word Forum - WordBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Microsoft Office Word Forum - WordBanter forum » Microsoft Word Newsgroups » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Howdy Folks

Thread Tools Display Modes
Old November 11th 15, 04:32 PM
Raymond Mitchell Raymond Mitchell is offline
Junior Member
First recorded activity by WordBanter: Nov 2015
Posts: 1
Cool Howdy Folks

Hoping you clever lot can help, I have a word doc with formfeilds - how do I make any newly entered text the colour of red and leave the old text black? I saw a similar VBA code for excel and wondered if it could be transferred to word.

Option Explicit

Private Sub Worksheet_Change(ByVal Target As Range)

If Not Intersect(Target, Range("A1:A100")) Is Nothing Then
If Target.Font.ColorIndex = 3 Then
Target.Font.ColorIndex = 5
Target.Font.ColorIndex = 3
End If
End If

End Sub

Thank you in advance if you can help.


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Here's a FUN challenge to Power Layout folks... Verticle LetterHea Rocky Page Layout 3 December 31st 09 07:51 AM
Question to Smarter Folks than I 1SgtMajor Microsoft Word Help 4 November 5th 09 01:06 PM
How do I keep a template attached when sending to folks off-site? CherylV Microsoft Word Help 3 October 18th 06 07:15 PM

All times are GMT +1. The time now is 08:36 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright 2004-2020 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.