Regular Expressions in VBA

  • Thread starter Thread starter Spencer Torene
  • Start date Start date
S

Spencer Torene

Hi,

I'm trying to put together a form in Outlook, and I want to use a regular
expression to find a section of a file so I can modify only that part. I've
tried looking for regular expressions in VBA on the internet, but I can't
find any good sources. Does anyone have a good place to look or have a
quick primer?

Thanks!
 
VBA has no RegEx object of its own. Use CreateObject to instantiate one from the VBS library, as the samples show.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Ah, thank you.

I feel that these are the types of things that are really lacking
explanation from Microsoft. There are many things that I learn from other
people's code, and can't find any CLEAR reference to in their language
reference library.


VBA has no RegEx object of its own. Use CreateObject to instantiate one from
the VBS library, as the samples show.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Spencer said:
I feel that these are the types of things that are really lacking
explanation from Microsoft. There are many things that I learn from other
people's code, and can't find any CLEAR reference to in their language
reference library.

Be thankful.
This makes our job so challenging.

Wolfram
 
Back
Top