Quote:
Originally Posted by macropod
They're listed under the wdColorIndex enumeration in the VBA Help file. You could use BackgroundPatternColor instead of BackgroundPatternColorIndex, and specify the RGB values.
|
Got it, thanks.
Now, is there a way to pass parameters to the macro? My search suggests that there is not. I have to have the macro ask for parameters using InputBox or a Form.
A couple of parameters that would make this macro more general are:
- The number of the column where the text is
- Whether the table has a header row or not
- The highlight color(s)
Thanks