Hi Caleb,
A mailmerge using Word can handle at least 255 columns. That's how many the mailmerge wizard will show. If you've got more columns
than that, the mailmerge wizard won't show the extras but, if you know the field names, you *may* still be able to insert them into
the document manually. To do this for a field in your Excel workbook named 'My Field':
. press Ctrl-F9 to create a pair of field braces (ie '{}')
. between the field braces, type 'MERGEFIELD My_Field' so that you get '{MERGEFIELD My_Field}' (note the underscore that's needed
where there's a space in the data field's name)
. run your mailmerge.
An alternative approach, where you've got multiple entries for the same State, might be to use Word's Catalogue/Directory Mailmerge
facility (the terminolgy depends on the Word version). To see how, check out my Word 97-2007 Catalogue/Directory Mailmerge Tutorial
at:
http://www.wopr.com/index.php?showtopic=731107
orhttp://
www.gmayor.com/Zips/Catalogue%20Mailmerge.zip
Do read the tutorial before trying to use the mailmerge document includedwith it.
--
Cheers
macropod
[Microsoft MVP - Word]
Peter
Basically each state has 5 contracts. I have set up the excel
spreadsheet to run calculations and record information. Variances,
highs/lows, changes, etc. So everything that i do is multiplied by
5. meaning i have reached the 250 mark in columns quickly. I then
set up a word document...not for mailing...so that i can populate a
document for each state with the figures and analyses...etc.
The only way i can think of getting around it is split one of the
contracts onto a different sheet....but this means i would have 2 word
documents for each state.
Any ideas?
You can extend the number of columns in Ex2007, but how have you set upthe
merge?
Normally, the list includes, Title, FirstName, LastName, [Company],
Address1, Address2, Town, County, PostCode, [Country]. Where the column
headings in square brackets are optional. The document is produced in say,
Word and linked to the Excel file for merging.
If you want different paragraphs for say different groups (see your other
post), then you can have different paragraphs based on the groups set up in
Word. I can't remember how its done but the Word group is sure to help.
Can you reduce the number of columns (fields) in the worksheet or have I
missed the point?
Peter Atherton
- Show quoted text -- Hide quoted text -
- Show quoted text -