Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Mike
 
Posts: n/a
Default Tabbing to columns in a table using mail merge fields

I have a table in a Word template that contains a mail merge field in the
first cell. The data for the field contains a name, date and amount, each
piece of data separated by a tab (ASCII 9). This was done in the hopes that
the tab would move the cursor to the next cell in the table so the date and
amount would be placed in cells two and three respectively. This doesn't
seem to work. Can anyone suggest how I might accomplish tabbing to the next
cell via data in the mail merge field? Thanks.

Mike
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
 
Posts: n/a
Default Tabbing to columns in a table using mail merge fields

If your data source contains just the one field with the name, date and
amount in that field, there is now way that you can split the mergefield in
the mailmerge main document over three cells.

As you have used tabs to separate the data in the datasource however, it is
a simple matter to convert that into a three column table (using Convert to
Text to Table from the Tables menu and selecting the Tab as the separator).
Then if you add appropriate field names in the the first row cells of each
column, you can merge each individual piece of data into the configuration
that you are after.

--
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

"Mike" wrote in message
...
I have a table in a Word template that contains a mail merge field in the
first cell. The data for the field contains a name, date and amount, each
piece of data separated by a tab (ASCII 9). This was done in the hopes
that
the tab would move the cursor to the next cell in the table so the date
and
amount would be placed in cells two and three respectively. This doesn't
seem to work. Can anyone suggest how I might accomplish tabbing to the
next
cell via data in the mail merge field? Thanks.

Mike



  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Mike
 
Posts: n/a
Default Tabbing to columns in a table using mail merge fields

The data source can contain up to ten rows worth of data. It can change each
time. Also, there is no user interaction with the document. A process
initiates the creation of a Word document via a plugin, the data for the
merged fields is inserted and the document is printed in the background.

"Doug Robbins - Word MVP" wrote:

If your data source contains just the one field with the name, date and
amount in that field, there is now way that you can split the mergefield in
the mailmerge main document over three cells.

As you have used tabs to separate the data in the datasource however, it is
a simple matter to convert that into a three column table (using Convert to
Text to Table from the Tables menu and selecting the Tab as the separator).
Then if you add appropriate field names in the the first row cells of each
column, you can merge each individual piece of data into the configuration
that you are after.

--
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

"Mike" wrote in message
...
I have a table in a Word template that contains a mail merge field in the
first cell. The data for the field contains a name, date and amount, each
piece of data separated by a tab (ASCII 9). This was done in the hopes
that
the tab would move the cursor to the next cell in the table so the date
and
amount would be placed in cells two and three respectively. This doesn't
seem to work. Can anyone suggest how I might accomplish tabbing to the
next
cell via data in the mail merge field? Thanks.

Mike




  #4   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
 
Posts: n/a
Default Tabbing to columns in a table using mail merge fields

There is nothing that you can do as part of the merge process. You will
have to do it in the data source.

--
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

"Mike" wrote in message
...
The data source can contain up to ten rows worth of data. It can change
each
time. Also, there is no user interaction with the document. A process
initiates the creation of a Word document via a plugin, the data for the
merged fields is inserted and the document is printed in the background.

"Doug Robbins - Word MVP" wrote:

If your data source contains just the one field with the name, date and
amount in that field, there is now way that you can split the mergefield
in
the mailmerge main document over three cells.

As you have used tabs to separate the data in the datasource however, it
is
a simple matter to convert that into a three column table (using Convert
to
Text to Table from the Tables menu and selecting the Tab as the
separator).
Then if you add appropriate field names in the the first row cells of
each
column, you can merge each individual piece of data into the
configuration
that you are after.

--
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

"Mike" wrote in message
...
I have a table in a Word template that contains a mail merge field in
the
first cell. The data for the field contains a name, date and amount,
each
piece of data separated by a tab (ASCII 9). This was done in the hopes
that
the tab would move the cursor to the next cell in the table so the date
and
amount would be placed in cells two and three respectively. This
doesn't
seem to work. Can anyone suggest how I might accomplish tabbing to the
next
cell via data in the mail merge field? Thanks.

Mike






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 mail merge to EMAIL from MS Word AND add a pdf attachment Lily@Insight Mailmerge 24 January 15th 07 09:33 PM
Form fields versus mail merge fields [email protected] Microsoft Word Help 2 February 16th 06 02:12 PM
Mail Merge Numeric Merge Fields Patti - Hexagon Mailmerge 7 December 5th 05 01:28 PM
DotNet Data Table as Mail Merge Data Source goraya Mailmerge 1 July 7th 05 09:51 AM
How do I use a table of contents in a mail merge brannos Mailmerge 1 March 18th 05 02:17 PM


All times are GMT +1. The time now is 08:37 AM.

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

About Us

"It's about Microsoft Word"