alktrigger
Aimless Extraordinaire
- Local time
- Yesterday, 21:04
- Joined
- Jun 9, 2009
- Messages
- 124
i'm trying to automate the excel function =COUNTIF(D2
48, "> 0") in my vb code, but how do I work around the quotation marks in the criteria field?

Code:
strCell2 = "= COUNTIF(" & strChar(o)& "2:"& strChar(o) & (intRecordNumber - 1) & ", [COLOR=Red]"> 0"[/COLOR] )"