Selection.EnhMetaFileBits property (Word)

Returns a Variant that represents a picture representation of how a selection or range of text appears.


expression. EnhMetaFileBits

expression A variable that represents a Selection object.


The EnhMetaFileBits property returns an array of bytes, which can be used with the Microsoft Windows 32 Application Programming Interface from within the Microsoft Visual Basic or Microsoft C++ development environment.


The following example returns the EnhMetaFileBits property.

Dim bytSelection() As Byte 
bytSelection = Selection.EnhMetaFileBits

See also

Selection Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.