Upon generating a word 2007 document it loses all the macro and vba code when it is sent to the user. The document is first merged with data and then streamed to the user. We have a document which is almost identical with the exception of the code behind the document in Word 2003 which works correctly. Is there anything we need to do besides set the saveformat type and document extension to send the document to the user. We are working in vb.net and streaming the document to the user through a web interface. The code we are using for both documents for the merge is the same, the only difference we are making is for the saving format of the document.
Thanks
Donna