View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
dougw dougw is offline
external usenet poster
 
Posts: 4
Default Problems with Reg Pattern "[^"]\$[A-Z]*[0-9]"


Not sure, but I think I read something about that before.... and they used
double quotes...

""[^\$[A-Z\*[0-9]""



"ExcelMonkey" wrote in message
...
I am having a problem usng this regex pattern in VBA:

[^"]\$[A-Z]*[0-9]

When I put it into quotes:

"[^"]\$[A-Z]*[0-9]"

It highlights the first ] and says Invalid Character.

I am assuming that it has something to do with the way VBA uses quotes for
text strings. What do I have to do to get around this?

Thanks

EM