Regular Expressions in VBA

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!
 
S

Sue Mosher [MVP-Outlook]

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
 
S

Spencer Torene

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
 
W

Wolfram Jahn

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top