![]() |
invalid procedure call
hi,
i have the following: selection.formatconditions.add type:=xlformula, operator:=xllesequal, _ formula1:=round(" & xlcol2 & "17,3)<=$G$17" and this is causing a runtime error 5: invalid procedure call or argument. how can i fix this? thanks in advance, geebee |
invalid procedure call
Try
Selection.FormatConditions.Delete Selection.FormatConditions.Add Type:=xlExpression, _ Formula1:="=round(" & xlcol2 & "17,3)<=$G$17" -- Cordially, Chip Pearson Microsoft MVP - Excel, 10 Years Pearson Software Consulting www.cpearson.com (email on the web site) "geebee" (noSPAMs) wrote in message ... hi, i have the following: selection.formatconditions.add type:=xlformula, operator:=xllesequal, _ formula1:=round(" & xlcol2 & "17,3)<=$G$17" and this is causing a runtime error 5: invalid procedure call or argument. how can i fix this? thanks in advance, geebee |
All times are GMT +1. The time now is 01:54 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com