Results 1 to 6 of 6

Thread: Multipage doc to multiple singles

  1. #1
    Join Date
    Apr 2009
    Posts
    3

    Multipage doc to multiple singles

    I have a 10 page document that I'd like to turn into 10, single files. It can be 10 PDF's, 10 Word doc's or anything else for that matter.
    Thanks

  2. #2
    Join Date
    May 2008
    Posts
    4,831

    Re: Multipage doc to multiple singles

    Scribus is an open-source program that brings award-winning professional page layout to Linux/UNIX, Mac OS X, OS/2 and Windows desktops with a combination of "press-ready" output and new approaches to page layout. Underneath the modern and user friendly interface, Scribus supports professional publishing features, such as CMYK color, separations, ICC color management and versatile PDF creation.

  3. #3
    Join Date
    Aug 2007
    Posts
    1,098

    Re: Multipage doc to multiple singles

    i think simple copy from original and create new and past it as per your requirement

  4. #4
    Join Date
    Apr 2009
    Posts
    3

    Re: Multipage doc to multiple singles

    Quote Originally Posted by timon View Post
    i think simple copy from original and create new and past it as per your requirement
    No... I have an Access created file with 77 pages. Each one unique. I'd like to "export" this file and create 77 seperate files. One file for each page. They are not paes that you can copy and paste. Besides, that would take a very long time.

  5. #5
    Join Date
    Jan 2008
    Posts
    242

    Re: Multipage doc to multiple singles

    Separate file by page
    The following macro copies text one page at a time and saves that text in a new document. The macro uses the pre-defined bookmark "\page" and the document's built-in property of "number of pages.

    "Sub BreakOnPage()
    ' Used to set criteria for moving through the document by page.
    Application.Browser.Target = wdBrowsePage

    For i = 1 To ActiveDocument.BuiltInDocumentProperties("Number of Pages")

    'Select and copy the text to the clipboard.
    ActiveDocument.Bookmarks("\page").Range.Copy

    ' Open new document to paste the content of the clipboard into.
    Documents.Add
    Selection.Paste
    ' Removes the break that is copied at the end of the page, if any.
    Selection.TypeBackspace
    ChangeFileOpenDirectory "C:\"
    DocNum = DocNum + 1
    ActiveDocument.SaveAs FileName:="test_" & DocNum & ".doc"
    ActiveDocument.Close

    ' Move the selection to the next page in the document.
    Application.Browser.Next
    Next i
    ActiveDocument.Close savechanges:=wdDoNotSaveChanges
    End Sub

    Note When you use this code to select and copy the text content of the document, the header and footer are not retained. Styles, fonts, and layout may change if the main file and the new document are from different templates, but direct formatting is maintained.

  6. #6
    Join Date
    Apr 2009
    Posts
    3

    Re: Multipage doc to multiple singles

    This will work with Microsoft Access?

Similar Threads

  1. Multiple IPs via DHCP
    By WYNNn in forum Networking & Security
    Replies: 5
    Last Post: 15-01-2011, 06:44 PM
  2. Replies: 6
    Last Post: 01-10-2010, 06:26 AM
  3. How to build a multipage form in php MySQL?
    By Dusto in forum Software Development
    Replies: 3
    Last Post: 13-07-2009, 11:47 PM
  4. Replies: 3
    Last Post: 14-05-2009, 10:25 AM
  5. vlc not really multiple
    By Vicious in forum Networking & Security
    Replies: 2
    Last Post: 29-11-2008, 03:00 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,131,006.58748 seconds with 16 queries