Hi gmayor
I did replace the old FormatTable procedure with the new, but I have had some troubles making it work. First of all, I am not sure what you mean when you say "In the body of the document"? Isn't that the entire document or do I need to select something in the document? Anyway I didn't receive a single MsgBox whatever I did (selected some part of the document or not) when running the script.
I don't understand why you are asking for .Shading.BackgroundPatternColor NOT to be lngBackColor (set to wdColorGray10 in line 2)?
I guess maybe it is getting too complicated. Then I would rather like the script to ask me for every single Table if I want it changed or not.
NB! By the way: Obviously wdLineStyleNone, means no outline for the table. But how do you set a table to have no fill (background)?
Thanks,
Erik
|