i installed a nower wwipstuff.dll with the vcx/vct and it now handles multiple attachments
thnaks
Peter
>>>>one of my apps create a series of letter/xls combination to send out via email (wwipstuff.dll) but the dll i use (version 5.45.0) does not work with 2 attachments. so i changed it to zip the 2 together and attach the zip file
>>>>that works fine
>>>>
>>>>but some users claim not o be able to open zip files
>>>>
>>>>so i thought maybe there is some autoamation coe to insert the xls into the end of the .doc file
>>>>
>>>>
>>>>then all I have to email is one word file :-)
>>>
>>>Just do it manually in Word, while recording a macro. Then translate the macro into Fox, using automation.
>>
>>
>>i know that. but I don't know how to do it in word. inserting an object inserts a blank exls, inserting a file inserts the bnary garbage...
>
>This is what I got inserting a (simple) xls into a (simple, one page) .doc in word/excel 2003:
>
>
Selection.InsertFile FileName:="PathToMySheet.xls", Range:="" _
> , ConfirmConversions:=False, Link:=False, Attachment:=False
>
>And it showed up. Though, it asked a few questions during the process, and it popped up a couple of dialogs - but I guess that's how it determined the parameters.
Peter Cortiel