P pekajo Registered User. Local time Tomorrow, 08:36 Joined Jul 25, 2011 Messages 136 Mar 14, 2022 #1 Hi, Is there a vba way of changing the conditional formatting expression. I want to change [MonC] = 1,2,3 .. on each of the conditions to [TueC] = 1,2,3 .. Thanks for any help Peter
Hi, Is there a vba way of changing the conditional formatting expression. I want to change [MonC] = 1,2,3 .. on each of the conditions to [TueC] = 1,2,3 .. Thanks for any help Peter
June7 AWF VIP Local time Today, 14:36 Joined Mar 9, 2014 Messages 5,923 Mar 14, 2022 #2 Yes, VBA can dynamically modify Conditional Formatting rules. However, if you want to permanently change the rule saved with form or report, object would have to be opened in Design view then saved with edits. https://www.access-programmers.co.u...nd-for-format-conditions-limited-to-3.271679/
Yes, VBA can dynamically modify Conditional Formatting rules. However, if you want to permanently change the rule saved with form or report, object would have to be opened in Design view then saved with edits. https://www.access-programmers.co.u...nd-for-format-conditions-limited-to-3.271679/
S sonic8 AWF VIP Local time Tomorrow, 00:36 Joined Oct 27, 2015 Messages 1,235 Mar 14, 2022 #3 pekajo said: Is there a vba way of changing the conditional formatting expression. Click to expand... Yes, the ComboBox and TextBox controls have got a FormatConditions collection that contains all that data including the Expressions.
pekajo said: Is there a vba way of changing the conditional formatting expression. Click to expand... Yes, the ComboBox and TextBox controls have got a FormatConditions collection that contains all that data including the Expressions.
P Pat Hartman Super Moderator Staff member Local time Today, 18:36 Joined Feb 19, 2002 Messages 46,899 Mar 14, 2022 #4 If the controls are all on the same form, you can select them all and change the properties as a group.
If the controls are all on the same form, you can select them all and change the properties as a group.