braindiesel
Well-known Member
- Joined
- Mar 16, 2009
- Messages
- 571
- Office Version
- 365
- 2019
- 2010
- Platform
- Windows
I am running ito an error re ExcecuteExcel4MAcro line
This code was produced by the recorder.
Any ideas?
This code was produced by the recorder.
Any ideas?
VBA Code:
Range("L5").Select
Selection.FormatConditions.Add Type:=xlExpression, Formula1:= _
"=MATCH(F5,myFactors,0)>=6"
Selection.FormatConditions(Selection.FormatConditions.Count).SetFirstPriority
ExecuteExcel4Macro "(2,1,""0 x"")"
Selection.FormatConditions(1).StopIfTrue = False
Range("L5").Select
Selection.FormatConditions.Add Type:=xlExpression, Formula1:= _
"=MATCH(F5,myFactors,0)=3"
Selection.FormatConditions(Selection.FormatConditions.Count).SetFirstPriority
ExecuteExcel4Macro "(2,1,""0""'' Centers"""")"
Selection.FormatConditions(1).StopIfTrue = False
Range("L5").Select