How to Automatically Use ODBC Rather Than DDE |
Q105900
When you open a database file or attach a data file for a print merge in Word, Word will use DDE by default to gather the information. To automatically use ODBC, follow the directions below.
REM Choosing a data file for a Print Merge
Sub MAIN
FileConfirmConversions - 1
Dim dlg As MailMergeHelper
GetCurValues dlg
On Error Goto bye
Dialog dlg
MailmergeHelper dlg
bye:
End Sub
REM Opening a Database file using FileOpen.
Sub MAIN
FileConfirmConversions - 1
Dim dlg As FileOpen
GetCurValues dlg
On Error Goto bye
Dialog dlg
FileOpen dlg
bye:
End Sub
[Extensions]
xlw=C:\WINDOWS\WINAPPS\EXCEL\EXCEL.EXE ^.xlw
'MDB=C:\WINDOWS\WINAPPS\ACCESS\msaccess.exe ^.MDB
NOTE: To comment a line out of the WIN.INI file, insert an apostrophe
at the beginning of the line.
Additional query words: 6.0 print merge faster database word6 winword dbase access paradox
Keywords : kbprint kbmerge
Issue type : kbhowto
Technology :
|
Last Reviewed: November 4, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |