Reply
 
Thread Tools Display Modes
  #1   Report Post  
Jeni Q
 
Posts: n/a
Default

"Peter Jamieson" wrote in message
...
: If I open the template (rather than creating a new doc based on the
: template) I am prompted with the SQL prompt.
:
: OK, in that case I suggest you open the template, go through your
connection
: process, then click the first button, select the "Normal Word Document"
: option, and save the template. At least that should stop the /template/
from
: trying to connect when it loads.

This works beautifully. When I first started messing around with this I
thought for a little while that I could just keep changing the data in the
data source (it's a short row of data) and then every time I opened the
template the data would already be there. This seemed like a very cool
option. However, the side effect of that was that the documents I saved from
the templates still kept the data connection, which was no good.

:
: OK, the key statement is this one - I'll just chop out stuff I'm pretty
sure
: is not needed for starters:
:
: ActiveDocument.MailMerge.OpenDataSource _
: Name:="K:\AA documents\SRC IP Tracking spreadsheet.xls", _
: Connection:="CurrentData", _
: SQLStatement:=""
:
: The main questions are
: a. does this need to work in Word 2000 as well as Word 2003 - if so, is
it
: easy for you to maintain two different versions? Or does it just need to
: work in Word 2003?
: b. are you connecting to a named range called CurrentData? Is it in the
: first sheet in your Excel workbook?

No, it only needs to work in 2003. Yes, we are connecting to a named range
called CurrentData and it is in the first sheet of the workbook.


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
Upon opening, can Word pull up same 4 documents automatically? Thomas Microsoft Word Help 2 May 7th 05 05:57 PM
Certain "word" documents opening in larger font and appearing bigg Ben Microsoft Word Help 1 March 17th 05 05:26 PM
best way to handle five documents that need to be merged in the e. outlook help Microsoft Word Help 1 February 25th 05 10:15 PM
Opening templates as documents David hendel Microsoft Word Help 1 January 10th 05 11:18 AM
Sending Merged Documents to Printer Individually [email protected] Mailmerge 1 December 19th 04 10:50 AM


All times are GMT +1. The time now is 04:56 AM.

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"