Help!

Continuous section break changing to new page break in merge

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> MailMerge Fields RSS
Next:  How to access textrange members inside SmartArt  
Author Message
Julia
External


Since: May 02, 2006
Posts: 14



PostPosted: Fri Sep 04, 2009 12:20 pm    Post subject: Continuous section break changing to new page break in merge
Archived from groups: microsoft>public>word>mailmerge>fields (more info?)

Hello-
Posted this in the layout section, but have not received a solution...

I am formatting a document (a legal pleading) for a client that is going
to be populated via mail merge from a third party program. The way the
program works is we use a Word macro to call a "standard" document which only
contains an "INCLUDETEXT" statement. The "INCLUDETEXT" contains one merge
code. The merge code contains a variable gets populated with the name of a
specific document to be merged (passed to it from the 3rd party program). The
"INCLUDETEXT" inserts the requested document into the standard doc and the
macro merges that document with the data from a source document. Confused
yet? Wink This approach allows us to use one macro to merge any number of
different documents.

I have to put a continuous section break at the top and bottom of the
document to preserve the page numbering, which is formatted via a table in
the header . The problem is that the continuous section break at the end of
the doc is getting converted to a section break new page, and an additional
section break continuous is inserted, so I get two blank pages at the end of
my document.

Any ideas to fix this?
TIA-
Julia
Back to top
Doug Robbins
External


Since: Sep 03, 2009
Posts: 4



PostPosted: Sat Sep 05, 2009 5:10 am    Post subject: Re: Continuous section break changing to new page break in merge [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

It should not be necessary to insert the Continuous Section Breaks to
control the page numbering. Without seeing your actual documents, I can't
however offer any suggestion about how to overcome the problem, other than
to suggest code to remove the last Next Page Section Break.

Of course Mail Merge is probably not the correct tool to be using for your
application.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com

"Julia" <Julia DeleteThis @discussions.microsoft.com> wrote in message
news:8A91844E-17F0-4010-AB57-DDA1E8F3D967@microsoft.com...
> Hello-
> Posted this in the layout section, but have not received a solution...
>
> I am formatting a document (a legal pleading) for a client that is going
> to be populated via mail merge from a third party program. The way the
> program works is we use a Word macro to call a "standard" document which
> only
> contains an "INCLUDETEXT" statement. The "INCLUDETEXT" contains one merge
> code. The merge code contains a variable gets populated with the name of a
> specific document to be merged (passed to it from the 3rd party program).
> The
> "INCLUDETEXT" inserts the requested document into the standard doc and the
> macro merges that document with the data from a source document. Confused
> yet? Wink This approach allows us to use one macro to merge any number of
> different documents.
>
> I have to put a continuous section break at the top and bottom of the
> document to preserve the page numbering, which is formatted via a table in
> the header . The problem is that the continuous section break at the end
> of
> the doc is getting converted to a section break new page, and an
> additional
> section break continuous is inserted, so I get two blank pages at the end
> of
> my document.
>
> Any ideas to fix this?
> TIA-
> Julia
Back to top
Julia
External


Since: May 02, 2006
Posts: 14



PostPosted: Tue Sep 08, 2009 6:23 am    Post subject: Re: Continuous section break changing to new page break in merge [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

My apologies, Doug- I misspoke (misswrote?).

I have the section break top & bottom to preserve *line* numbering (via a
table in the header), not *page* numbering. I found that solution at
http://word.mvps.org/FAQs/Formatting/WorkWithSections.htm posted by Suzanne.

Unfortunately, mail merge is the way we generate documents from our
application (our software also has to be able to accommodate our customers
that use WordPerfect as their word processing software). I did not write the
program- I just have to make it work for this customer. Sad

"Doug Robbins" wrote:

> It should not be necessary to insert the Continuous Section Breaks to
> control the page numbering. Without seeing your actual documents, I can't
> however offer any suggestion about how to overcome the problem, other than
> to suggest code to remove the last Next Page Section Break.
>
> Of course Mail Merge is probably not the correct tool to be using for your
> application.
>
> --
> Hope this helps.
>
> Please reply to the newsgroup unless you wish to avail yourself of my
> services on a paid consulting basis.
>
> Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
>
> "Julia" <Julia.DeleteThis@discussions.microsoft.com> wrote in message
> news:8A91844E-17F0-4010-AB57-DDA1E8F3D967@microsoft.com...
> > Hello-
> > Posted this in the layout section, but have not received a solution...
> >
> > I am formatting a document (a legal pleading) for a client that is going
> > to be populated via mail merge from a third party program. The way the
> > program works is we use a Word macro to call a "standard" document which
> > only
> > contains an "INCLUDETEXT" statement. The "INCLUDETEXT" contains one merge
> > code. The merge code contains a variable gets populated with the name of a
> > specific document to be merged (passed to it from the 3rd party program).
> > The
> > "INCLUDETEXT" inserts the requested document into the standard doc and the
> > macro merges that document with the data from a source document. Confused
> > yet? Wink This approach allows us to use one macro to merge any number of
> > different documents.
> >
> > I have to put a continuous section break at the top and bottom of the
> > document to preserve the page numbering, which is formatted via a table in
> > the header . The problem is that the continuous section break at the end
> > of
> > the doc is getting converted to a section break new page, and an
> > additional
> > section break continuous is inserted, so I get two blank pages at the end
> > of
> > my document.
> >
> > Any ideas to fix this?
> > TIA-
> > Julia
>
>
>
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> MailMerge Fields All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum