Hi Jasa,
It would be helpful if you have the full details up front. Had I written a macro for this, I would not have coded it to work with anything other than what you specified. Indeed, the macro would have been nothing more than a macro version of the wildcard Find/Replace I posted - it certainly wouldn't have catered for variable length sequences of sequences where there is more than one digit in the numbers interspersed by the 'x' characters as suggested in the example in your latest post.
Before coding a macro to handle variable sequence lengths, I also need to know whether they always terminate in a '/' character as indicated in your first post's examples.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|