Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default regex string matching

Can VBA do regex string matching? Can it do a conditional replace based on
what was found?

If not and I wanted to spend a million hours working on it, is it
theoretically possible for a VBA procedure to pass a string to Perl?

Thanks for your help,

Jamie


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 77
Default regex string matching

On my system, it is found by going to the VBA editor, <Tools <Reference
and selecting:

'// Microsoft VBScript Regular Expressions 5.5

HTH.
--
Dana DeLouis
Using Windows XP & Office XP
= = = = = = = = = = = = = = = = =


"Jamie Martin" wrote in message
...
Can VBA do regex string matching? Can it do a conditional replace based on
what was found?

If not and I wanted to spend a million hours working on it, is it
theoretically possible for a VBA procedure to pass a string to Perl?

Thanks for your help,

Jamie



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default regex string matching

this article talks about VB6, but it would be the same in VBA (create a
reference to the specified object model).

http://support.microsoft.com/default...02&Product=vbb
HOW TO: Use Regular Expressions in Microsoft Visual Basic 6.0

--
Regards,
Tom Ogilvy


"Jamie Martin" wrote in message
...
Can VBA do regex string matching? Can it do a conditional replace based on
what was found?

If not and I wanted to spend a million hours working on it, is it
theoretically possible for a VBA procedure to pass a string to Perl?

Thanks for your help,

Jamie




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default regex string matching

One more reference to what you've already got:

Regular Expression Object Properties and Methods
http://msdn.microsoft.com/library/de...l=/library/en-
us/script56/html/vtoriregularexpressionsobjectpropmeth.asp

--
Regards,

Tushar Mehta, MS MVP -- Excel
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article , lionsmouth2002
@yahoo.com says...
Can VBA do regex string matching? Can it do a conditional replace based on
what was found?

If not and I wanted to spend a million hours working on it, is it
theoretically possible for a VBA procedure to pass a string to Perl?

Thanks for your help,

Jamie



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
index and matching with string search! via135 Excel Worksheet Functions 4 April 16th 08 07:03 PM
string matching adimar Excel Worksheet Functions 2 April 14th 08 10:05 PM
Building Sum by Matching String guruk Excel Discussion (Misc queries) 1 July 10th 06 12:55 PM
Regex Question William Barnes Excel Programming 5 January 2nd 04 11:57 AM
Wildcard pattern matching and replace in string Janelle Excel Programming 0 August 7th 03 10:43 PM


All times are GMT +1. The time now is 11:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"