The Embed field inserts an object created in another application that supports OLE. Microsoft Word inserts the Embed field when you insert objects — such as Microsoft Excel worksheet objects — by doing one of the following:

  • On the Insert tab, in the Text group, click Object, and then select the object that you want.

  • On the Home tab, in the Clipboard group, click the arrow under Paste, and then click Paste Special.

The Embed field isn't available in the Field dialog box, and you cannot manually insert the field. However, you can directly modify switches in an existing Embed field.

Syntax

When you view the Embed field code in your document, the syntax looks like this:

{ EMBED ClassName [Switches] }

Note: A field code tells the field what to show. Field results are what is shown in the document after having evaluated the field code. To toggle between viewing the field code and the field code results, press Alt+F9.

Instructions

ClassName

The name of the container application, such as Microsoft Excel. You cannot modify this instruction.

Switches

\* MERGEFORMAT

Applies the sizing and cropping of the previous result to the new result. To preserve previously applied sizing and cropping when you update the field, don't delete this switch from the field.

Examples

The following field displays a Microsoft Graph object embedded in a document:

{ EMBED MSGraph.Chart.8 \* MERGEFORMAT }

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.