ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Set a reference to Microsoft VBScript Regular Expressions(vbscript.dll) (https://www.excelbanter.com/excel-programming/436862-set-reference-microsoft-vbscript-regular-expressions-vbscript-dll.html)

cate

Set a reference to Microsoft VBScript Regular Expressions(vbscript.dll)
 
In vba, how do you do that?
Thank you.

cate

Set a reference to Microsoft VBScript Regular Expressions(vbscript.dll)
 
On Dec 1, 7:28*am, cate wrote:
In vba, how do you do that?
Thank you.


Sorry, I had no idea how simple it was. Tools-References-[x]
Microsoft VBScript Regular Expression 5.5

Rick Rothstein

Set a reference to Microsoft VBScript Regular Expressions (vbscript.dll)
 
That's one way to do it... you can also do it through code.

Dim RegExp As Object
.......
.......
Set RegExp = CreateObject("vbscript.regexp")

--
Rick (MVP - Excel)


"cate" wrote in message
...
On Dec 1, 7:28 am, cate wrote:
In vba, how do you do that?
Thank you.


Sorry, I had no idea how simple it was. Tools-References-[x]
Microsoft VBScript Regular Expression 5.5



All times are GMT +1. The time now is 02:59 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com