Copying shading in table cells

D

David Wheeler

Hello -

Is there a way of copying the shading in a table cell along with text
formatting?

Thanks,

David Wheeler
 
B

Bruce

Only way I have found is with a macro. You can use the
macro recorder, but be aware that unless all of the cells
need the same borders and other details, you will need to
edit the macro to remove commands that perform formatting
you do not want. To record the macro, see Help. Assign
it a keyboard shortcut. In general, click a cell, start
recording, click Format > Borders and Shading, make you
selections, click OK, and stop recording. To edit it,
click Tools > Macros. Among other text you will see
something like:
With Selection.Cells.Shading
.Texture = wdTextureNone
.ForegroundPatternColor = wdColorAutomatic
.BackgroundPatternColor = wdColorYellow
End With
You can delete any other writing except for the line at
the top that starts with word Sub, the one at the bottom
that says End Sub, and any line that starts with an
apostrophe (the font is probably green). The apostrophe
is where you can make a note about the macro, such as what
keystroke combination you gave it, or how to use it. You
could also delete the line that starts .Texture and the
one that starts .Background, but it isn't necessary.
 
D

David Wheeler

Thanks for that, Bruce - I have used macros for shading whole rows but
hadn't thought of using it for individual cells. I tried using the Style
tool but didn't get very far.

Best Regards,

David Wheeler
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top