VB macro help in Word

  reddwarfcrew 15:04 16 Jan 2005
Locked

I'm trying to write a little bit of code that deletes everything between 2 boox marks:

ie, i have variable text of:

"phone us on 0000 000 0000 x0000 between"

Now the length of the phone number may change in that it might not have the x0000 in it.

So I'm thinking of having a bookmark after "on" and a bookmark before "between" and then a little bit of code to delete in between these 2 bookmarks. I then have code that puts in the right phone number that I want to appera.

Any ideas?

  reddwarfcrew 20:15 16 Jan 2005

bump.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

OnePlus 5T review: Hands-on

See the Best Button Badge Designs of 2017

iPhone X review

Black Friday 2017 : date, sites participants & bonnes affaires