ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   VBA and Regular expressions (https://www.excelbanter.com/excel-programming/278636-vba-regular-expressions.html)

[email protected]

VBA and Regular expressions
 
Here are some MicroSoft articles on Regular Expressions.

http://msdn.microsoft.com/workshop/l...ting051099.asp
http://msdn.microsoft.com/library/de...xpressions.asp
http://msdn.microsoft.com/library/de...sobjRegExp.asp
http://support.microsoft.com/default...02&Product=vbb

HTH
Paul
--------------------------------------------------------------------------------------------------------------
Be advised to back up your WorkBook before attempting to make changes.
--------------------------------------------------------------------------------------------------------------
how to use Regular expressions with VBA without buying an additional tool or
using Perl.
Any possibility to do some vbs and to use the output of an
regexp.vbs-Function out of vba?

thanks for your time + effort in advance.

fritz



Chip Pearson

VBA and Regular expressions
 
Fritz,

In VBA, go to the Tools menu, choose References, and set a
reference to the "Microsoft VBScript Regular Expressions 5.5"
object library. This will allow you to use regular expressions via
the RegExp object.



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
www.cpearson.com



"Friedrich Muecke" wrote in message
...
Hi,

how to use Regular expressions with VBA without buying an additional tool

or
using Perl.
Any possibility to do some vbs and to use the output of an
regexp.vbs-Function out of vba?

thanks for your time + effort in advance.

fritz





Friedrich Muecke

VBA and Regular expressions
 
Hi,

how to use Regular expressions with VBA without buying an additional tool or
using Perl.
Any possibility to do some vbs and to use the output of an
regexp.vbs-Function out of vba?

thanks for your time + effort in advance.

fritz



Friedrich Muecke

VBA and Regular expressions
 
that's cool and not that far away. Should have thought of this.
Thanks a lot !!!
:-))

fritz

"Chip Pearson" wrote in message
...
Fritz,

In VBA, go to the Tools menu, choose References, and set a
reference to the "Microsoft VBScript Regular Expressions 5.5"
object library. This will allow you to use regular expressions via
the RegExp object.



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
www.cpearson.com



"Friedrich Muecke" wrote in message
...
Hi,

how to use Regular expressions with VBA without buying an additional

tool
or
using Perl.
Any possibility to do some vbs and to use the output of an
regexp.vbs-Function out of vba?

thanks for your time + effort in advance.

fritz








All times are GMT +1. The time now is 08:46 AM.

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