>Hi Cetin-
>
>Your suggestion is a good start -- I need to pass in the *name* of the controlsource to mySetColor, rather than the value. I have tried numerous combinations of quotes etc with no luck. Any suggestions?
>
>Carlie
Carlie,
Then change the code slightly to have the quotes :)
for each oColumn in this.Columns
oColumn.DynamicBackColor = "thisform.mySetColor(["+oColumn.Controlsource+"])"
endfor
But never put a "wait window" or alike to see what you get there :)
Cetin