I'm trying to extract some text using VBScript in MS Word 97. Can anyone help with the following?
Aim to extract the complete words with country in them and copy to the bottom of the page. e.g.
england country1 london
wales country2 cardiff
scotland country3 edinburgh
The script will just extract (copy and paste) the following at the bottom of the page:
country1
country2
country3
I can get the thing to find anything with 'country' and paste, but not the complete word (i.e. country1, country2). The text is seperated by blank spaces only.
Any ideas anyone?
cheers
Aim to extract the complete words with country in them and copy to the bottom of the page. e.g.
england country1 london
wales country2 cardiff
scotland country3 edinburgh
The script will just extract (copy and paste) the following at the bottom of the page:
country1
country2
country3
I can get the thing to find anything with 'country' and paste, but not the complete word (i.e. country1, country2). The text is seperated by blank spaces only.
Any ideas anyone?
cheers
Comment