Hi all
Is it possible to add a conditional formatting to a button to change color?
Thanks in advance
Hi all
Is it possible to add a conditional formatting to a button to change color?
Thanks in advance
no. but you can change the color based on the data
Code:select case txtBox.valuecase "A"btn.backcolor = vbRedcase "B" btn.backcolor = vbBlueend select
And it would have to be a Single View Form...not a Continuous View Form.
To do it on a Continuous View Form...you'd have to use a Textbox, and its OnClick Event, tweaked to look like a Command Button...and then you would have to use Conditional Formatting.
Linq ;0)>
The problem with making anything foolproof...is that fools are so darn ingenious!
All posts/responses based on Access 2003/2007