Kamis, 28 November 2013

[MS_AccessPros] VBA Color

 

Hello – have another question that I cannot find a clear answer on the web…..

In VBA, the color code is different than what is in the property box (ie property box color = #C67171 and vba = 7434694)

Is there a “simple” way to just use the property color when setting the backcolor or forecolor in VBA without doing a web search for a converter program each time?

I did find the sample:

Me!Control.Backcolor = Val("&H" & "FFFFFF")

But cannot get it to work

Thanks,

B

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)
Recent Activity:
.

__,_._,___

Tidak ada komentar:

Posting Komentar