How to parse 4th line of my document positons 10 thru 37

A

Adi

Hi,
If in my document , 4th line contains the following text,

RE: 65 Spear Street,Metuchen,NY

How to parse, so that i get "65 Spear Street,Metuchen,NY" into a variable
which i can use in the file name to save the document?

Thanks for your help.
Regards,
Adi
 
D

Doug Robbins - Word MVP

I suggest that you look up the function in the help file. In this case, it
returns the content of the fourth paragraph starting at the 10th character,
there being six non-breaking space and one ordinary space after the RE:

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top