View Single Post
 
Old 01-02-2013, 05:59 PM
cyberpaper cyberpaper is offline Windows XP Office 2003
Novice
 
Join Date: Oct 2010
Posts: 19
cyberpaper is on a distinguished road
Default Word 2003 - Macro to color a row in table?

I'm trying to set up a 2003 Word macro that'll fill a row (or a cell) in a table with color (regardless of whether or not there's any text in the cell\row).

The following method works except that the row's color is overlaid with the black of the selection and I have to click elsewhere to unselect the row.

Here's how I've been doing it:
Cursor in an empty row of a table
Tools > Macro > Record a new macro
Name it, assign a shortcut, OK and recording gadget appears.

Then I go Table > Select > Row (which selects the row in black)
Then Format > Borders and Shading > Color (eg, Blue) > OK
Stop recording.

When I test the macro, it works, but a split second after the row fills with color, the black selection overlays the color. The black selection only goes away after I click somewhere else. The color remains.

This isn't a huge BFD but it's annoying. Anyone able to tell me where I'm going wrong? BTW, the OS is Windows 7. Oddly, I don't recall having the same problem when recorded the same macro in Word 2003 in my old XP system.

Thanks for reading this :-)
Reply With Quote