For text form fields, you can put this macro in the form template
(change the colors as desired): Acrobat pro free. download full version mac.
Sub FormExit()
Dim fld As FormField
ActiveDocument.Unprotect
If Selection.Bookmarks.Count > 0 Then
Set fld = ActiveDocument.FormFields( _
Selection.Bookmarks( _
Selection.Bookmarks.Count).Name)
End If
If Trim(fld.Result) = ' Then
fld.Range.Shading _
.BackgroundPatternColor = wdColorYellow
Else
fld.Range.Shading _
.BackgroundPatternColor = wdColorWhite
End If
ActiveDocument.Protect Type:=wdAllowOnlyFormFields, _
NoReset:=True
End Sub
Assign this macro as the exit macro of each text form field. To have
each new document start with the fields colored, also put in this
macro:
Select a cell or range of cells and then click Table Tools Design Table Styles Shading. Select a colour from the panel that opens and that colour will be applied as shading. Adding shaded bands to a Word table is easy. You can apply an AutoFormat or create a custom table style. Shading a table's rows or columns is a good way to improve readability. Fortunately, using. We would like to show you a description here but the site won’t allow us. You can add borders of your choice to word table by following the simple steps given below. Step 1 − Click the Border button to display a list of options to put a border. Select the Border and Shading option available at the bottom of the list of options as shown in the above screenshot. Word 2016 tutorial on how to add borders around and color, or shading to your paragraphs.All 147 of my Word 2016 training videos contain everything you need.
Sub AutoNew()
Dim fld As FormField
With ActiveDocument
.Unprotect
For Each fld In .FormFields
fld.Range.Shading.BackgroundPatternColor = _
wdColorYellow
Next
.Protect Type:=wdAllowOnlyFormFields
End With
End Sub
This sort of thing works for form fields because you can assign an
exit macro that runs automatically when you exit the field. There is
no such thing for a table cell that doesn't contain a form field.
Although it would be possible to use an application event handler for
the WindowSelectionChange event to change the background color of a
table cell, its behavior isn't very nice. See
http://www.eggheadcafe.com/software/aspnet/31328183/change-background-to-red.aspx
Instagram app download for macbook pro. for a discussion.
--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit.
How To Shade Tables In Word
Microsoft Word 2010 removes much of the need to spend time getting the shading right on tables in your documents. The table styles that come with Word provide a rich selection of different styles you can apply to your tables. Live Previews let you see what those styles look like without having to apply them. To apply a table style, place the cursor in any cell of your table and then click Table Tools > Design > Table Styles > More Button (bottom right of the Table Styles group). The following panel appears, displaying thumbnail images of the table styles available for us to choose.
These table styles offer combinations of borders and shading, some emphasizing header rows and some alternating row colours.
You can even format your table the way you want it to appear and then save it as a new table style. To do this, click Table Tools > Design > Table Styles > More Button > New Table Style, and the Create New Style from Formatting window will open.
Name the style and ensure that Style type is set to 'table'. Make sure the other selections are correct (the default settings are usually appropriate) and then click OK.
How To Add Shading In Word Table
The shading described above is applied using ready made table styles. However, you can apply your own table shading without using table styles. Select a cell or range of cells and then click Table Tools > Design > Table Styles > Shading. Select a colour from the panel that opens and that colour will be applied as shading.