INFO: Excel 2000 Needs Metafile Format to Insert Object (250336)



The information in this article applies to:

  • Microsoft Excel 2000

This article was previously published under Q250336

SUMMARY

Microsoft Excel 2000 can insert "embeddable" OLE objects from the clipboard or OLE drag-and-drop operation only if the OLE object server supports the CF_ENHMETAFILE or CF_METAFILEPICT formats in its IDataObject implementation. If these formats are unavailable, Excel cancels the insert.

This behavior differs from previous versions of Excel. Both Excel 95 and Excel 97 ask for a CF_DIB or CF_BITMAP if no metafile format is available. This is no longer true for Excel 2000.

Because OLE object servers are expected to provide a metafile presentation format, developers seeking to insert OLE objects into Excel 2000 are advised to support one or both metafile formats.

Modification Type:MajorLast Reviewed:10/2/2003
Keywords:kbinfo KB250336