Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 331
  • Last Modified:

Formatting a directory in Word 2010

I am trying to format a directory in WORD 2010.  What is the best way to do this.  I would like to print the County each time there is a change in County.

(See attached spreadsheet)

I now have the document set up in columns, I don't know if this is the best way to do this.
I will be using merge fields to populate the document.  The input is on an Excel Spreadsheet.
Directory.docx
0
morinia
Asked:
morinia
1 Solution
 
Paul SauvéRetiredCommented:
I would use a table rather that columns - you will get better results with Excel.
Directory1.docx
0
 
GrahamSkanRetiredCommented:
It looks, from your document, as if you are aiming a Labels type of merge, rather than a Directory.

Grouping by one of the fields in the datasource, e.g. 'County'  is more tricky.It can be done using SET, IF and MERGESEQ fields. It would be based on a something that would look like this.

{ IF { MERGESEQ } = "1" "{ MERGEFIELD COUNTY }¶
" "" }{ SET Place1 { MERGEFIELD COUNTY }}¶
{ If { Place2 } <> { Place1 }"¶
{ MERGEFIELD COUNTY }¶

{ MERGEFIELD EMPLOYEE } { MERGEFIELD SALES }" "{ MERGEFIELD EMPLOYEE } { MERGEFIELD SALES }" }{ SET Place2 { MERGEFIELD COUNTY }}¶

This is taken from here: http://support.microsoft.com/kb/294686 where there is a fuller explanation.

I have listed this as well as some suggestions for using VBA here:
http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Word/Q_23658368.html
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now