Understood.
If you are in a position to use VBA then the business of connecting using
DDE can be made easier, especially if the users are not allowed to make
ad-hoc connections. The users have to have Excel on their machines, and you
won't see Unicode characters that aren't in the ANSI set.
In essence, you need a bit of code such as the following:
Sub ConnectToXLwithDDE()
ActiveDocument.MailMerge.OpenDataSource _
Name:="the full path name of the Excel workbook", _
Connection:="Entire Spreadsheet", _
Subtype:=wdMergeSubTypeWord2000
End Sub
If you need to let your users choose the workbook, it can be done in a
rather crude way with a couple of extra lines of code.
Once the connection is made and the mail merge main document saved, the
connection should be restored on re-open (except the users have to respond
to that SQL question).
Peter Jamieson
> Peter thank you for your response, but it appears none of those ideas
> would ultimately solve my prolem. I have about 20 different people that
[quoted text clipped - 36 lines]
>>>
>>> Bob R
LabrGuy Bob R - 16 Apr 2007 19:17 GMT
> Understood.
>
[quoted text clipped - 4 lines]
>
> In essence, you need a bit of code such as the following:
I will try this out and see what I can do with it. Right now the code, when
it's fired from Excel will open the WORD document and take me to the actual
Mail Merge document. At this point the operator merely has to select the
<<abc>> to choose the display and select the actual number of the record..
It seems this is easier than the responding to the SQL commnad. I guess I
will have to make sure each computer has had the "reference" added to it.
In regards to the other post, IT does have it locked down and i wouldn't
have a chance of getting them to help out there..
You've been so helpful, thank you so much.
BOB
> Sub ConnectToXLwithDDE()
> ActiveDocument.MailMerge.OpenDataSource _
[quoted text clipped - 53 lines]
>>>>
>>>> Bob R