Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need to produce some VBA for a Formula Conditional Formatting. The
spreadsheet I need use the VBA on is overlaid by ACCESS, so using the traditional conditional formatting will not work. I can however get the desired results using the dropdown Conditional Formatting, choosing Formula Is and entering =RIGHT($E39,5)="Total" and Bold/Italic. I'm very new to VBA, and my latest attempt is: Range("E1:K61000").Select Selection.FormatConditions.Add Type:=xlExpression, _ Formula1:="=RIGHT($E1,5)='Total'" Selection.FormatConditions(1).Bold = True Selection.FormatConditions(1).Italic = True Run time is rejecting the second & third lines. Any suggestions? Thank you, Cathy |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Conditional formatting in a formula | Excel Discussion (Misc queries) | |||
what formula do I use for conditional formatting? | Excel Worksheet Functions | |||
Conditional formatting and formula | Excel Worksheet Functions | |||
Conditional formatting formula | Excel Worksheet Functions | |||
Conditional formatting formula | Excel Discussion (Misc queries) |