Microsoft KB Archive/250336

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 13:51, 21 July 2020 by X010 (talk | contribs) (Text replacement - """ to """)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


INFO: Excel 2000 Needs Metafile Format to Insert Object

Article ID: 250336

Article Last Modified on 10/2/2003



APPLIES TO

  • Microsoft Excel 2000 Standard Edition



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.


Additional query words: GetData COleClientItem DoDragDrop ObjectDescriptor

Keywords: kbinfo KB250336