Microsoft KB Archive/69263

{|
 * width="100%"|

Embedding an Excel Worksheet into an Excel Worksheet

 * }

-

The information in this article applies to:


 * Microsoft Excel for Windows, versions 3.0, 4.0, 4.0a, 5.0

-

SUMMARY
To embed a Microsoft Excel worksheet into another Microsoft Excel worksheet, do the following:


 * 1) Start up two sessions of Excel. Because embedding can only take place between applications, you must have both the application that is acting as the embedding server, and the application that is acting as the embedding client, running simultaneously.
 * 2) Open or create a worksheet in the session that is acting as the server application.
 * 3) Highlight a range of cells on the worksheet.
 * 4) Choose Copy from the Edit menu.
 * 5) Activate the session that is the client application and select a cell in the worksheet onto which you want to place the embedded worksheet.
 * 6) Press the SHIFT key as you choose the Paste Picture command from the Edit menu.

MORE INFORMATION
The embedded worksheet will appear on the worksheet and, whenever selected, the formula bar will display the following formula

  =EMBED(&quot;ExcelWorksheet&quot;,)

where  is a string that describes the range of cells that define the worksheet (in R1C1 notation). For example, while editing the worksheet to be embedded, if you used the CTRL+END keyboard combination to move to and select the active cell at the lower-right corner of the worksheet, and the cell D10 is selected, then the EMBED function would be

  =EMBED(&quot;ExcelWorksheet&quot;,&quot;R1C1:R10C4&quot;)

because R1C1:R10C4 is the R1C1 format for the range of cells, A1:D10, that are active in the worksheet.

An embedded worksheet is used when you want a picture of an existing spreadsheet, but you do not want it to update dynamically.