E
eded1218
I am a new VBA user. I would like to format the rows in a Word table
based on the contents of the first cell in the row (column #1), which
will be either "a", "p", or "d" (which represents active, pending or
declined) or the cell could be blank.
So, for example, if the first cell is blank, I don't want to make any
changes to the row's format. However, if the first cell contains "a",
I would like the font of the entire row to be white, the fill to be
green and the font to be bold. And so on, with different colors/
formatting for each row that contains a different letter.
This doesn't seem like it should be that difficult, but I haven't
really found that much information on how to work with tables using
VBA.
I would really appreciate any help!
Also, could anyone recommend a good book on using VBA in Word? Thanks
in advance!
based on the contents of the first cell in the row (column #1), which
will be either "a", "p", or "d" (which represents active, pending or
declined) or the cell could be blank.
So, for example, if the first cell is blank, I don't want to make any
changes to the row's format. However, if the first cell contains "a",
I would like the font of the entire row to be white, the fill to be
green and the font to be bold. And so on, with different colors/
formatting for each row that contains a different letter.
This doesn't seem like it should be that difficult, but I haven't
really found that much information on how to work with tables using
VBA.
I would really appreciate any help!
Also, could anyone recommend a good book on using VBA in Word? Thanks
in advance!