Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-24-2018, 08:21 PM
macropod's Avatar
macropod macropod is offline Word MergeField Code Text issue Windows 7 64bit Word MergeField Code Text issue Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by stevenel View Post
On other site I found this :

The solution is to create the data source file as a Word document instead of as a text file :
Code:
...
I am just a little bit confuse how integrated in my code
I can't see how that is at all relevant to your current process. In any event, you already have a functional Word document, so there should be no need to create a new one.



And, as I said before, if you name the Excel range to be used for the merge, you could reference that name as the data table in the mailmerge main document without the need for a CSV export.

Finally, if you're to continue using the current approach, you should check the contents of your problem CSV file; the problem may be there and have nothing to do with the merge as such.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 09-25-2018, 05:00 PM
stevenel stevenel is offline Word MergeField Code Text issue Windows 7 64bit Word MergeField Code Text issue Office 2013
Novice
Word MergeField Code Text issue
 
Join Date: Jul 2018
Posts: 26
stevenel is on a distinguished road
Default

I am pretty sure you are right !

Take #2
Here is my code :

Document Source MAAX - Ver9.5 FR - UW1-008a.xlsm
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word MergeField Code Text issue Mail Merge Code Issue Andrewwill Mail Merge 6 01-06-2018 10:25 PM
Word MergeField Code Text issue How to link Excel fields with MergeField in Word? Fabulist Mail Merge 3 02-03-2016 02:32 PM
creating a code to create dynamic text in word ah8471 Word VBA 1 12-29-2015 10:52 PM
Word MergeField Code Text issue Printing selected pages based on a MERGEFIELD.g. If MERGEFIELD=x then print pages 1,2,4 if MERGEFIEL Richard.p Word 3 04-21-2015 01:14 AM
Omit mergefield if it contains specific text MikeStewart Mail Merge 3 10-01-2014 01:31 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:23 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft