E
Evan Stone
I've got a problem that's got me stumped (primarily because of my lack of
experience with the Word object model, in addition to a project timeline
that demands that I have this done *yesterday*...)
Anyway, I'm sure this will be fairly straightforward to a Word VBA guru, but
I was wondering how I can use Word's Find functionality to locate the start
and end of a rudimentary custom tag.
For example, imagine that we need to find the tag {*MyTag*}, but I *don't*
know what's between the initial "{*" and the end "*}" symbols (it could be
MyTag, but it also could be YourTag. I'd like to be able to locate the
beginning brace, remember it's location, find the end brace, then be able to
process whatever's between the two, doing something different for MyTag vs.
YourTag.
I'm just a little confused with how to do it in Word, so if anyone can help
me out I'd really appreciate it!
Many Thanks,
evan stone | software engineer
experience with the Word object model, in addition to a project timeline
that demands that I have this done *yesterday*...)
Anyway, I'm sure this will be fairly straightforward to a Word VBA guru, but
I was wondering how I can use Word's Find functionality to locate the start
and end of a rudimentary custom tag.
For example, imagine that we need to find the tag {*MyTag*}, but I *don't*
know what's between the initial "{*" and the end "*}" symbols (it could be
MyTag, but it also could be YourTag. I'd like to be able to locate the
beginning brace, remember it's location, find the end brace, then be able to
process whatever's between the two, doing something different for MyTag vs.
YourTag.
I'm just a little confused with how to do it in Word, so if anyone can help
me out I'd really appreciate it!
Many Thanks,
evan stone | software engineer