Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
[email protected] don.hosek@gmail.com is offline
external usenet poster
 
Posts: 2
Default Word macro to extract chapter preserving chapter and page numbering

I'd like to be able to easily create a new word document from a
chapter in a multi-chapter document. What would be really groovy would
be to be prompted for a chapter number and let Word find it on its
own, but short of that, what I'd like to do is be able to select a
portion of a document, run the macro and have a new word document
created with the first chapter number being the number of the first
chapter of the selected portion and the first page number being the
number of the first selected page.

  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Word macro to extract chapter preserving chapter and page numbering

Personally I would leave it as a single document which will be much easier
to manage.
How are the chapters indicated so the macro would be able to recognise them?
If you change the page numbers in the individual documents, they will not be
correct if you edit the text in any of the documents or change the printer
driver.
Word can handle documents of thousands of pages.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



wrote:
I'd like to be able to easily create a new word document from a
chapter in a multi-chapter document. What would be really groovy would
be to be prompted for a chapter number and let Word find it on its
own, but short of that, what I'd like to do is be able to select a
portion of a document, run the macro and have a new word document
created with the first chapter number being the number of the first
chapter of the selected portion and the first page number being the
number of the first selected page.



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
[email protected] don.hosek@gmail.com is offline
external usenet poster
 
Posts: 2
Default Word macro to extract chapter preserving chapter and page numbering

On Jul 11, 10:19 pm, "Graham Mayor" wrote:
Personally I would leave it as a single document which will be much easier
to manage.
How are the chapters indicated so the macro would be able to recognise them?
If you change the page numbers in the individual documents, they will not be
correct if you edit the text in any of the documents or change the printer
driver.
Word can handle documents of thousands of pages.


It's for getting pages out to members of my critique group. They don't
want the whole MS, just the chapter under discussion. Each chapter
begins with a "Heading1" styled paragraph which is where the auto-
numbering comes from.

So, assuming that I'm going with a prompted interface, what I need to
do is find the paragraph tagged heading1 with number x, determine what
page it starts on, then select everything from that heading up to the
next heading1 (or end of the document, whichever comes first), copy it
into a new document, set the numbering on heading1 to start with the
correct number and page numbering to start with the correct page
number. This is what I do manually now.

-dh

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i create individualized chapter page numbering? rachael Page Layout 2 November 3rd 05 07:04 PM
Removed a chapter -> chapter numbering wrong for the figures GH Formatting Long Documents 8 May 22nd 05 07:15 PM
Word 2000 - Parallel Chapter numbering - Manual in two tables Harald Formatting Long Documents 5 February 10th 05 03:03 PM
Chapter numbering without sections Mark Formatting Long Documents 4 January 14th 05 05:42 PM
Adding the chapter / sub-chapter Headings into the Footer Tropicana Page Layout 5 January 10th 05 04:58 PM


All times are GMT +1. The time now is 02:13 PM.

Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"