Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-21-2018, 04:17 PM
travb81 travb81 is offline MailMerge from txt file - failing when the file path contains a reserved SQL word Windows 10 MailMerge from txt file - failing when the file path contains a reserved SQL word Office 2016
Novice
MailMerge from txt file - failing when the file path contains a reserved SQL word
 
Join Date: Aug 2017
Posts: 11
travb81 is on a distinguished road
Default

Quote:
Originally Posted by Guessed View Post
Looking at https://docs.microsoft.com/en-us/off...6)%26rd%3Dtrue it appears that you have two options to explore.



1. Include a SQLStatement variable to see if Word doesn't try to interpret the Name as a SQL statement instead.
2. Create a .qry file and point at that instead
Hi Andrew,
Thanks for your reply.
#1 - I tried parameter
Code:
SQLStatement:=";"
, without success
#2 - Not too sure what you mean, can you offer any further assistance? I'm not trying to query an SQL source, but set a txt / csv type file as the datasource for the mail merge.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
MailMerge from txt file - failing when the file path contains a reserved SQL word Putting path and file name into all Word documents Kevin Beach Word 3 11-26-2016 06:14 PM
MailMerge from txt file - failing when the file path contains a reserved SQL word Determining file path for linked image in Word 2007 samhdc Word 7 01-26-2015 04:21 PM
Display Full File Path Name of Document in Title bar MS-Word 2010 Carlos06x Word 1 10-12-2011 10:39 AM
Programmatically get File Path for currently opened WORD document franferns Word 1 11-26-2009 12:36 PM
MailMerge from txt file - failing when the file path contains a reserved SQL word get file name without Path Ziggy1 Word VBA 1 09-29-2006 07:55 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:44 PM.


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