Re: Regular Expression
- From: Tushar Mehta <tmUnderscore200310@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 23 Jan 2007 18:57:11 -0500
In article <1169507449.798703.102030@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Shannon.Lieberg@xxxxxxxxx says...
So I am new to VB Macros in Excel and I swear I came across some methodIn addition to Harlan's suggestion, to use regular expressions in a UDF,
called .contains where if a cell contained the string or regular
expression you were searching for it returned a boolean of True or
false if it didn't find it.
Now that I am returning to my notes I can't find it, nor can I find it
in books or on-line.
Has anyone heard of this or is there a better way to check if a cell's
contents conform to a particular pattern?
Thanks!
check
http://www.tmehta.com/regexp/
particularly
http://www.tmehta.com/regexp/add_code.htm
--
Regards,
Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions
.
- References:
- Regular Expression
- From: sl
- Regular Expression
- Prev by Date: Re: CommandButton - Created using Forms toolbar
- Next by Date: Re: When I open Excel I want it to open on Sheet 1
- Previous by thread: Re: Regular Expression
- Next by thread: Re: Printing on Legal Size Paper!
- Index(es):
Relevant Pages
|