View Single Post
  #4   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Jojo Jojo is offline
external usenet poster
 
Posts: 3
Default Print Section Number on page

Doug,

Thanks for the thorough reply. The explanation of those fields not
"surviving" a merge allowed me to focus on another direction. I'm
always looking for simple solutions so I wanted to stay away from VB.
Plus I thought I had come across another solution. So with my
refocus, I found "Formula" under Field Codes and came up with:
{ =int(({ MERGEREC }+4)/4) \# "0" }
The 4's are because I have 4 records per page.

Regards...

Doug Robbins - Word MVP wrote:
There are a number of fields that will not survive the execution of a mail
merge and the Section and SectionPages fields are two of them.

It might be best to put the numbers that you want in a field in the data
source.

You may be interested in the following method of creating post cards with
data printed on both sides.

To do this, you would use a two page form letter type mail merge main
document with the text and merge fields set up for each side of the card in
that document.

Then, with your data source which must be in the form of a table in a Word
document open as the active document, you would run the following macro.
This will ask you how many cards there are across and how many down, and
then it will create a new data source with the records duplicated in the
correct order so that when you attach this new data source to the form
letter type mail merge main document, and execute the merge, the required
information will appear on each side of the card.


Dim i As Long, j As Long, k As Long, l As Long, n As Long, m As Long
Dim dtable As Table
Dim arec As Range
Dim dsource As String

snip