View Full Version : Change paragraph background color w/code
dthompson16
04-20-2008, 10:29 AM
Does anybody know an easy way to change the background color of a solid paragraph object by using scripting code? I've tried every combination of "Paragraph.SetProperties" and "BGColor" I can think of till I'm blue in the face :eek: but to no avail! (Is there even a hard way?)
Dermot
04-20-2008, 11:23 AM
This works for me.
Paragraph.SetProperties("Paragraph1", {BGColor=255})
dthompson16
04-21-2008, 04:11 PM
Arrgh, curly braces! I never woulda thought of that one in a million yrs. Thanks for showing me this!!:yes
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.