saving text

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a 240 paragraph document that needs to be saved as 240 individual documents. When I hi-lite the paragraph and save as, it takes the whole document. I there a way I can save only the selected text as a document. I have doe this for years in Word Perfect where it asks if you only want to save the selected text, but do not get that kind of prompt in Word. Any help?
 
The following macro will cut the selected text and save it as a new
document.

Sub CutAndSaveSelectedAsNewDoc()
Selection.Cut
Documents.Add Template:="Normal", NewTemplate:=False, DocumentType:=0
Selection.Paste
ActiveDocument.Save
ActiveDocument.Close
End Sub

--
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
Graham Mayor - Word MVP

Web site www.gmayor.com
Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
 
Back
Top