Error exporting to word

  • Thread starter Thread starter Max
  • Start date Start date
M

Max

I am using Word 2002 SP3 and access97.

The following line of code generates a type mismatch error.

DoCmd.TransferText acExportMerge, , "LetterToPatient", DocPath &
"tempmrg.doc", True

LetterToPatient is a query which works fine.
The tempmrg.doc is the datasource for the word template. This is not write
protected. I have deleted it
and still get the same error message.

Any suggestions?
Thanks in advance.

Max
 
Back
Top