OL2000: Some DocumentItem.SaveAs Options Don't Work

ID: Q224873


The information in this article applies to:
  • Microsoft Outlook 2000


SYMPTOMS

You use the SaveAs method of the DocumentItem object, but the item is not saved.


CAUSE

The only two formats that save correctly are Outlook Template (OFT) and Message Format (MSG).


RESOLUTION

Depending on your solution, you may be able to work around this problem by accessing the object model of the Microsoft Office program, and using the SaveAs method in the Microsoft Word, Microsoft Excel or Microsoft Powerpoint object models to save the file in a specific format.

For additional information about accessing the other object models, click the article number below to view the article in the Microsoft Knowledge Base:

Q201091 OL2000: Programmatically Accessing Office Form Documents


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.


MORE INFORMATION

The options to save in various file formats works correctly with mail messages (MailItem objects).


REFERENCES

For additional information about available resources and answers to commonly asked questions about Outlook solutions, click the article number below to view the article in the Microsoft Knowledge Base:

Q146636 OL2000: Questions About Custom Forms and Outlook Solutions

Additional query words: OutSol OutSol2000 OL2K vbscript

Keywords : kbdta
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: January 5, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.