Copy all Text

T

terilad

Hi,

I am looking for help, I wish to copy all the text in a word document with a
click of a command button, I have inserted the command button but I am
looking for a macro to asign to the button, I cannot select the text as it is
not editable due to restriction by filling in form, I am wanting to copy all
the text in the doc to paste to another web based program.

Regards

Mark
 
T

terilad

Hi Stafan,

Yes I did, my web was playing up yesterday so this was posted twice, my
apologies.

As stated in question I only need to copy approx 3 lines of text but it is
in a form so no other user can delete parts of the text as I am needing to
copy this text to so that it can be pasted into a web program as text, I dont
want to create a new doc every time as there will be lots of unecesary docs
on the PC.

Any other ideas.

Regards

Mark
 
D

Doug Robbins - Word MVP

Use

ActiveDocument.Range.Copy

--
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, originally posted via msnews.microsoft.com
 
T

terilad

Many thanks Doug


Mark

Doug Robbins - Word MVP said:
Use

ActiveDocument.Range.Copy

--
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, originally posted via msnews.microsoft.com
 

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