Question Conditional Formatting Data Sheet Row

Jamz

Registered User.
Local time
Today, 08:51
Joined
Jan 16, 2012
Messages
31
Hi Guys,

Is it possible to conditional format a row, or even use VBA or something to match a condition and conditional format a certain cell.

For example:
Product Name Stock
19 Inch Monitor 66
24 Inch Monitor 59
Microsoft Front Page 100

The above shows a list of what is in stock, but for something like Microsoft Front Page, I dont want this visable, so would like to change the font to white (although we have stock of it in, its not a physical item - so I dont need to show quantity, but have just the name output)

Now I can conditional format the cell that features "Microsoft Front Page" but i need the cell that states "100" to be formatted

Something like:
Code:
IF ME![ProductName] = "Microsoft Front Page" THEN
ME![CountOfProductID] = Font Colour White
End If

Is this anyway possible?
 
Have you looked at Conditional Formatting? It would be simplest. Code really doesn't work in forms in data sheet or continuous views.
 
Yes i have looked at conditional formatting, but it does not allow you to format one cell from another (as i described above) - Doesnt even allow you to condition a row or column
 
It will certainly let you format based on other fields. You select "Expression Is" instead of "Field Value Is". You can do a row in continuous forms view by formatting a large textbox that sits behind all the others. In datasheet view you'll probably need to apply the format to each, but you can highlight them all and do them all at once.
 
But in datasheet view when you add another text box, it just adds the text box into another column, and not behind another column
 
Yes, that's why I said you'd need to apply the format to each text box.
 

Users who are viewing this thread

Back
Top Bottom