If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
VBA conditional formatting
Hi there,
I have read up about conditional formatting and understand the *concept* clearly (I think). However, is it possible to display conditional formatting of a subform in datasheet view on a form? If so, can someone please help me with the VBA coding of this, as I need to have more than 3 (or 4 if default is used) colours? Thank you! W -- The Psyber Fox http://www.psyberconsulting.co.za |
#2
|
|||
|
|||
VBA conditional formatting
If you use VBA code to set the properties of the controls (ForColor etc), it
will affect all rows of the datasheet, so no: that's not possible. You can use that approach in a report: that's probably your only option if you need more than 3 formats. -- Allen Browne - Microsoft MVP. Perth, Western Australia Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org. "PsyberFox" wrote in message ... Hi there, I have read up about conditional formatting and understand the *concept* clearly (I think). However, is it possible to display conditional formatting of a subform in datasheet view on a form? If so, can someone please help me with the VBA coding of this, as I need to have more than 3 (or 4 if default is used) colours? |
#3
|
|||
|
|||
VBA conditional formatting
Thank you for the info...
-- The Psyber Fox http://www.psyberconsulting.co.za "Allen Browne" wrote: If you use VBA code to set the properties of the controls (ForColor etc), it will affect all rows of the datasheet, so no: that's not possible. You can use that approach in a report: that's probably your only option if you need more than 3 formats. -- Allen Browne - Microsoft MVP. Perth, Western Australia Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org. "PsyberFox" wrote in message ... Hi there, I have read up about conditional formatting and understand the *concept* clearly (I think). However, is it possible to display conditional formatting of a subform in datasheet view on a form? If so, can someone please help me with the VBA coding of this, as I need to have more than 3 (or 4 if default is used) colours? . |
Thread Tools | |
Display Modes | |
|
|