Solved

Formatting a directory in Word 2010

Posted on 2013-01-04
2
308 Views
Last Modified: 2013-01-06
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
Comment
Question by:morinia
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 32

Expert Comment

by:Paul Sauvé
ID: 38746224
I would use a table rather that columns - you will get better results with Excel.
Directory1.docx
0
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 500 total points
ID: 38746401
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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A few years ago I was very much a beginner at VBA, and that very much remains the case today.  I'll do my best to explain things as I go in the hope that other beginners can follow.  If you just want to check out a tool that creates a Select Case fu…
This is written from a 'VBA for MS Word' perspective, but I am sure it applies to most other MS Office components where VBA is used.  One thing that really bugs me is slow code, ESPECIALLY when it's mine!  In programming there are so many ways to…
This video teaches the viewer how to align pictures around text while keeping the text properly aligned in the document.
This video shows and describes the main difference between both orientations in Microsoft Word. Viewers will understand when to use each orientation and how to get the most out of them.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question