A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Continuous section break changing to new page break in merge



 
 
Thread Tools Display Modes
  #1  
Old September 4th, 2009, 08:20 PM posted to microsoft.public.word.mailmerge.fields
Julia
external usenet poster
 
Posts: 102
Default Continuous section break changing to new page break in merge

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? ;-) 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
  #2  
Old September 5th, 2009, 09:41 AM posted to microsoft.public.word.mailmerge.fields
Doug Robbins
external usenet poster
 
Posts: 16
Default Continuous section break changing to new page break in merge

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" wrote in message
...
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? ;-) 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



  #3  
Old September 8th, 2009, 02:23 PM posted to microsoft.public.word.mailmerge.fields
Julia
external usenet poster
 
Posts: 102
Default Continuous section break changing to new page break in merge

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...thSections.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. :-(

"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" wrote in message
...
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? ;-) 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




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:11 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.