Ron,
You've done some marvelous work here and I truly appreciate it.
However, when I attempt to run the macro I get a pop-up error window
of:
(Microsoft Visual Basic)
"Compiler error:"
"User defined type, not defined"
It occurs on the line of:
Dim objRegExp As RegExp - wherein the line is colored BLUE
However, the lines above it are colored yellow, which a
Function RECount(str As String, Pattern As String, _
Optional CaseSensitive As Boolean = True) As Long
QUESTION:
Did I do something wrong in my paste of the code ?
I'm using Windows2000 Professional
and Excel 2002 w/SP3
Thanks for all your help,
--
jay
------------------------------------------------------------------------
jay's Profile:
http://www.excelforum.com/member.php...fo&userid=2377
View this thread:
http://www.excelforum.com/showthread...hreadid=530718