Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Lonnie Lonnie is offline
external usenet poster
 
Posts: 7
Default many many data source fields - windows 2003 - word 2003

I am relatively new to a complicated mail merge like the one I am doing now.
I hope there is some hope for a better solution then the labor intensive one
I am currently using. I have 200+ data source (angle bracketed) fields in 3
different sections of the document.
When I double click to bring each element from the Insert Merge Fields
button each one is placed next to each other going across the page then onto
the next line.

«Brand162»«Brand163»«Brand164»«Brand165»« Brand166»«Brand167»«Brand168»«Brand169»«Br and170»«Brand171»

I need to have one on each line by itself with the paragraph mark right
after it inorder to have the empty ones skip the line i.e not add an extra
blank line, AFAIK. My brute force solution is click in between each one to
manually perss the enter key to get the new line (paragraph symbol) in
between each one.

I have to double click between each element from the Insert Merge Field at
the same time otherwise I have to get out and get back in for each element.

Is there an easier way to do this? I tried doing a search and replace with
the double angles from the Latin-1 symbols Insert menu but search and replace
does not recognize the symbol.

I hope this is understandable. Any help is appreciated. I tried searching
the lists but I probably am not using the correct phrases.

Lonnie

  #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 many many data source fields - windows 2003 - word 2003

If you run a macro containing the following code, it will insert a paragraph
mark after each of the mergefields in the document:

Dim i As Long
Dim frange As Range
With ActiveDocument
For i = 1 To .Fields.Count
With .Fields(i)
If .Type = wdFieldMergeField Then
Set frange = .Code
frange.Collapse wdCollapseEnd
frange.Move wdCharacter, 1
frange.InsertAfter vbCr
End If
End With
Next i
End With


--
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, originally posted via msnews.microsoft.com
"Lonnie" wrote in message
...
I am relatively new to a complicated mail merge like the one I am doing
now.
I hope there is some hope for a better solution then the labor intensive
one
I am currently using. I have 200+ data source (angle bracketed) fields in
3
different sections of the document.
When I double click to bring each element from the Insert Merge Fields
button each one is placed next to each other going across the page then
onto
the next line.

«Brand162»«Brand163»«Brand164»«Brand165»« Brand166»«Brand167»«Brand168»«Brand169»«Br and170»«Brand171»

I need to have one on each line by itself with the paragraph mark right
after it inorder to have the empty ones skip the line i.e not add an extra
blank line, AFAIK. My brute force solution is click in between each one
to
manually perss the enter key to get the new line (paragraph symbol) in
between each one.

I have to double click between each element from the Insert Merge Field at
the same time otherwise I have to get out and get back in for each
element.

Is there an easier way to do this? I tried doing a search and replace with
the double angles from the Latin-1 symbols Insert menu but search and
replace
does not recognize the symbol.

I hope this is understandable. Any help is appreciated. I tried searching
the lists but I probably am not using the correct phrases.

Lonnie


  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Lonnie Lonnie is offline
external usenet poster
 
Posts: 7
Default many many data source fields - windows 2003 - word 2003

Thank you, thank you, thank you. That does the trick. I very much appreciate
your help!

"Lonnie" wrote:

I am relatively new to a complicated mail merge like the one I am doing now.
I hope there is some hope for a better solution then the labor intensive one
I am currently using. I have 200+ data source (angle bracketed) fields in 3
different sections of the document.
When I double click to bring each element from the Insert Merge Fields
button each one is placed next to each other going across the page then onto
the next line.

«Brand162»«Brand163»«Brand164»«Brand165»« Brand166»«Brand167»«Brand168»«Brand169»«Br and170»«Brand171»

I need to have one on each line by itself with the paragraph mark right
after it inorder to have the empty ones skip the line i.e not add an extra
blank line, AFAIK. My brute force solution is click in between each one to
manually perss the enter key to get the new line (paragraph symbol) in
between each one.

I have to double click between each element from the Insert Merge Field at
the same time otherwise I have to get out and get back in for each element.

Is there an easier way to do this? I tried doing a search and replace with
the double angles from the Latin-1 symbols Insert menu but search and replace
does not recognize the symbol.

I hope this is understandable. Any help is appreciated. I tried searching
the lists but I probably am not using the correct phrases.

Lonnie

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
Word 2003 Letter doc and Excel 2003 data source Barnie M Mailmerge 2 June 3rd 08 08:47 PM
Loosing access to data source in Word 2003 Franz Weghaus Mailmerge 8 February 21st 08 04:55 PM
Word 2003 as Data Source: Using Word Doc Form Fields as Data Sourc NRP Mailmerge 2 October 15th 07 03:04 PM
Winword 2003 on MS Server 2003 keeps losing data source. Brian Ely Mailmerge 4 September 28th 06 11:33 AM
Word 2003 merge data source Excel Ques marychi Mailmerge 1 August 18th 05 12:21 PM


All times are GMT +1. The time now is 06:32 PM.

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"