Re: Extract value from table cell
- From: "Jay Freedman" <jay.freedman@xxxxxxxxxxx>
- Date: Tue, 23 Aug 2005 14:56:06 -0400
terrchen@xxxxxxxxx wrote:
> Since we are on this topic. Is there anyway I can do string
> manipulations in VB for Microsfot word. For example, can I use
> regular expressions to manipulate a string?
There are the usual VB functions/operators such as Left, Right, Mid, Instr,
and Like. Starting with Word 2000 there are also Split, Join, and Array
which can be useful for this.
You can go to Tools > References and add a reference to the Microsoft
VBScript Regular Expressions 5.5 library. That lets you use the RegExp
object's methods and properties -- see
http://msdn.microsoft.com/library/en-us/script56/html/vsobjRegExp.asp.
--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
.
- References:
- Extract value from table cell
- From: terrchen
- Re: Extract value from table cell
- From: Doug Robbins
- Re: Extract value from table cell
- From: terrchen
- Extract value from table cell
- Prev by Date: Re: Extract value from table cell
- Next by Date: Synchronizing Macros
- Previous by thread: Re: Extract value from table cell
- Next by thread: learning vba
- Index(es):
Relevant Pages
|