Re: Split doc to many files

Tech-Archive recommends: Speed Up your PC by fixing your registry



On 5/9/06 1:03 PM, in article
1hf38uh.df4dxn19a38meN%rm@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, "Roger Morris"
<rm@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

I have several long Word documents (50 to 100 pages) that I would like
to split (save as) into many separate docs (files).

I have a Heading 1 at the start of what I would like to be the start of
each new doc.

Is there an easy way to do this please?

An Applescript (preferred) or VBA solution would be welcome.

It can, but it would be easier if you had started a new section with each
Heading 1. Too late for that now?

In order to make new files, you have to tell us how you want to name them.
Suppose the original document is called "Document Blah.doc". Do you want the
separate docs to be called "Document Blah 1.doc", "Document Blah 2.doc",
etc. ? Or do you want the separate documents to have the names of the
Headings that begin them? Or what exactly? Presumably they should be saved
to the same folder as the long doc? There's always a possibility that a doc
of the same name already exists in that folder, necessitating a complicated
routine for re-naming them. IMO, it would be safer for the script to create
a new subfolder of the same name as the long doc (but without ".doc"
extension) or however you want (and the routine can check just _its_ name),
and make the separate docs within that.

--
Paul Berkowitz
MVP MacOffice
Entourage FAQ Page: <http://www.entourage.mvps.org/faq/index.html>
AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/>

Please "Reply To Newsgroup" to reply to this message. Emails will be
ignored.

PLEASE always state which version of Microsoft Office you are using -
**2004**, X or 2001. It's often impossible to answer your questions
otherwise.

.



Relevant Pages

  • Re: Split doc to many files
    ... to split into many separate docs. ... I have a Heading 1 at the start of what I would like to be the start of ... shouldn't have a problem (likewise the repeats and doc, sub folder ... of the same name already exists in that folder, necessitating a complicated ...
    (microsoft.public.mac.office.word)
  • Re: Split doc to many files
    ... Roger Morris wrote: ... to split into many separate docs. ... I have a Heading 1 at the start of what I would like to be the start of ... Mac OS 10.4.6 and Word 11.2 ...
    (microsoft.public.mac.office.word)
  • Split doc to many files
    ... I have several long Word documents that I would like ... to split into many separate docs. ... I have a Heading 1 at the start of what I would like to be the start of ... An Applescript or VBA solution would be welcome. ...
    (microsoft.public.mac.office.word)
  • Re: Combine rows based on values in column 1
    ... Advanced Filter. ... Copy your list of values (including a heading) into ... Marty L wrote: ... I can write a routine that will do this - but it is a little tedious: ...
    (microsoft.public.excel)
  • Re: How can I open on 3rd Sheet Q
    ... He has a routine under the heading |"Returning The Name Of The First ... further down the same page he has a routine under the ... heading " Getting The Name Of A Sheet By Position Number". ... I'm assuming this will be named Sheet48 ...
    (microsoft.public.excel.programming)