Shading Lines in Listbox with Similarities

bstice

Registered User.
Local time
Today, 15:36
Joined
Jul 16, 2008
Messages
55
I have a listbox displays information on orders and how much left there is to bill on a given order number. Sometimes the orders have several lines because there is value open on individual product ids that roll up into the order.

Is there a way using VBA or some other function to check the previous line and if the order numer is the same, shade those two lines gray? So the math would be:

IF the order number from the previous line = order number from current line then SHADE both lines gray.

Is this possible? Thanks

Brennan
 

Users who are viewing this thread

Back
Top Bottom