Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
RRCJOHN RRCJOHN is offline
external usenet poster
 
Posts: 3
Default WORD mail merge: Insert column heading when table field changes?

I am trying to make a directory much like a dictionary would be set up. When
the first letter of the word changes I want to put a heading in the column of
words with just the first letter of the words after that. I am importing
from Excel all the cells I would need including a field with just the first
letter.
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default WORD mail merge: Insert column heading when table field changes?

You can probably do it with a technique similar to that in the article at:

http://cornell.veplan.net/article.aspx?&a=3815

However, with a maximum of 26 letters to deal with, it is probably easier to
just insert records into the data source before each change in the first
letter, and insert the letter into the appropriate field in that record.


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

"RRCJOHN" wrote in message
...
I am trying to make a directory much like a dictionary would be set up.
When
the first letter of the word changes I want to put a heading in the column
of
words with just the first letter of the words after that. I am importing
from Excel all the cells I would need including a field with just the
first
letter.



  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default WORD mail merge: Insert column heading when table field changes?

Hi RRCJOHN,

See also my tutorial on Catalogue/Directory Mailmerges at:
http://www.wopr.com/cgi-bin/w3t/show...?Number=731107

For your purposes, I'd be inclined to add a dummy data column to the Excel workbook that extracts just the first letter from the
relevant data field and use the the dummy data for the 'key'.

FWIW, if the data you want to test are in B2:B100, your dummy 'key' column could use the formula =LEFT(B2,1) on row 2 and copied
down to row 100 to extract the first letter for each record.

--
Cheers
macropod
[MVP - Microsoft Word]


"RRCJOHN" wrote in message ...
I am trying to make a directory much like a dictionary would be set up. When
the first letter of the word changes I want to put a heading in the column of
words with just the first letter of the words after that. I am importing
from Excel all the cells I would need including a field with just the first
letter.


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 total each column in a table with mail merge information? Noel Microsoft Word Help 1 October 8th 08 12:41 PM
Possible to insert a file into Word based on a mail merge field? Mark Mailmerge 1 January 13th 06 02:50 PM
Mail Merge Field window should remain open to insert multiple fiel Steinway60 Mailmerge 1 July 20th 05 04:08 PM
Insert Merge Field problem with Word-Mail Merge from Excel documen Augusta E. Microsoft Word Help 2 June 20th 05 10:59 AM
Mail merge field different in datasource & insert a field menu Silvs Mailmerge 1 April 22nd 05 06:18 AM


All times are GMT +1. The time now is 09:45 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"