Thursday, December 4, 2008

Compile error: User-defined type not defined

Compile error: User-defined type not defined
Dim re As RegExp Set re = New RegExp

What you need to do is
- go ot the VBIDE
- menu Tools>references
- scroll down until you find the item marked Microsoft Scripting Runtime and check that
- then scroll down/up until you find the item marked Microsoft VBScript Regular Expresssions, and check that
- exit and try again
Greyed out? Probably means the project is password protected. Get hold of the author anbd get the password off of him.

No comments: