?
Solved

MS Access 2003 ListBox change row font color based on value

Posted on 2012-12-21
3
Medium Priority
?
1,730 Views
Last Modified: 2012-12-21
I have a listbox that is returning my data and Column(1) value will be a "x" or nothing

Is there a way in VBA to change the entire row font color based on it's column(1) value = "x" ?
0
Comment
Question by:lrbrister
3 Comments
 
LVL 61

Accepted Solution

by:
mbizup earned 2000 total points
ID: 38712932
Listboxes don't have that kind of formatting flexibility in Access.

If you need effects like that, an alternative is to use a subform in continuous forms or datasheet view and apply conditional formatting.
0
 
LVL 66

Expert Comment

by:Jim Horn
ID: 38712949
^^^ what she said
0
 

Author Closing Comment

by:lrbrister
ID: 38712977
Thanks
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
In a use case, a user needs to close an opened report by simply pressing the Escape (Esc) key. This can be done by adding macro code in Report_KeyPress or Report_KeyDown event.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question