It could be because there is no such VBA function RGB.
Try this instead ActiveDocument.EVALUATE("RGB(10, 20, 30)")
you can use the following macro
Thanks Tauqueer that's absolutely brilliant!
Do you know the QV syntax if I want to change the fill color of a shape placed in a text box as an "image" rather than changing bkgcolor?
Retrieving data ...