Saving Selected Text

F

FRED

Is there a way to save selected text in a Word 2003 doc
as a new doc (like there is in WordPerfect)?
 
G

garfield-n-odie

Wordperfect and Word work differently, as you're discovering. In Word,
you have to select the text, copy and paste it to a new document, then
save the new document.
 
G

Graham Mayor

The following macro will do the trick (using the default normal template)

Sub CopySelectedToNewDoc()
Selection.Copy
Documents.Add Template:="Normal"
Selection.Paste
On Error GoTo Oops
ActiveDocument.Save
Oops:
End Sub

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - 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