Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / September 2006

Tip: Looking for answers? Try searching our database.

leave a blank line when merging

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
stlof - 29 Sep 2006 15:07 GMT
Using Excel XP and Word XP, how can I force a blank line when there is no
data?  ie, i want to leave a line for a user to pencil-in data where none
exists in the database.
Signature

haf

Peter Jamieson - 29 Sep 2006 17:11 GMT
Does your line just consist of a single field?

If you want /all/ blank fields to result in blank lines then go into Word
Tools|Customize|Commands, select category "All COmmands", then locate
MailMergeHelper in the list of commands and drag it to a toolbar. Click on
it, then click Merge... and select the appropriate option.

If you want /some/ (or all) blank fields to result in blank lines then nest
the field inside an IF field, e.g.

{ IF "{ MERGEFIELD myfield }" = "" "" "{ MERGEFIELD myfield }" }

where all the {} are the special field brace characters you can insert using
ctrl-F9

Peter Jamieson

> Using Excel XP and Word XP, how can I force a blank line when there is no
> data?  ie, i want to leave a line for a user to pencil-in data where none
> exists in the database.
stlof - 29 Sep 2006 17:26 GMT
Thanks.

no, i'm merging what amounts to a small table.  cells contain information or
are blank.  there is no problem when any cell has data, the problem arises
when all are blank.  let's se if i can demonstrate:

n   blank   blank   blank
results in a line with n in the first column,

however

blank    blank    blank    blank

leaves no line.

any better?
haf

> Does your line just consist of a single field?
>
[quoted text clipped - 16 lines]
> > data?  ie, i want to leave a line for a user to pencil-in data where none
> > exists in the database.
Peter Jamieson - 29 Sep 2006 18:04 GMT
I /always/ get a table row here if I have a table row in the mail merge main
document, regardless of whether there is anything in the table or not.

If you haven't actually got a Word table in there (i.e. by "table" you mean
a tabular layout) then the approaches I suggested should be OK.

Otherwise, I can only suggest that you despam my e-address
pjj@KillMAPSpjjnet.demon.co.uk
and send me a copy of your mail merge main document and preferably some
sample output.

Peter Jamieson

> Thanks.
>
[quoted text clipped - 40 lines]
>> > none
>> > exists in the database.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.