Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
questions questions is offline
external usenet poster
 
Posts: 1
Default type in color on a word Form

I am creating a Form in Word and i need the end users to have the ability to
change the color or bold the font in a text box
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Greg Maxey Greg Maxey is offline
external usenet poster
 
Posts: 171
Default type in color on a word Form

Then the user will have to unlock the form and change it. Another
option is using a on exit macro to set font attributes based on the
field content. For example:

Sub ATest()
If ActiveDocument.FormFields("Text1").Result = "No" Then
ActiveDocument.FormFields("Text1").Range.Font.Colo r = wdColorBlue
Else
ActiveDocument.FormFields("Text1").Range.Font.Colo r =
wdColorAutomatic
End If
End Sub




questions wrote:
I am creating a Form in Word and i need the end users to have the ability to
change the color or bold the font in a text box


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
linking and sequential numbering of tables xppuser Tables 26 July 13th 06 01:52 PM
Change paper size; Word changes to invalid margins OhioTech New Users 10 July 6th 06 02:00 PM
creating macros in word badavis Microsoft Word Help 1 June 23rd 06 05:15 PM
WP merge file to Word sstires Tables 4 February 14th 06 06:26 PM
Spellchecking Locked Bookmarked FormFields Results in LOSS of Book jarimura Microsoft Word Help 15 December 20th 05 05:53 AM


All times are GMT +1. The time now is 01:35 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"