The information in this article applies to:
SUMMARYWhen you drag a Microsoft Excel 2000 file into Microsoft Word 2000, you may experience different behavior depending on how you drop the file in. Case 1If you do not have a Word document open when you drop the Excel file, Word displays the Open Worksheet dialog box. You can open the entire workbook or a sheet in the workbook. When you click OK, the workbook or worksheet information is displayed in a Word table in a new blank Word document. It is not inserted as a field.Case 2If you have a Word document open when you drop the Excel file, Word inserts the Excel file as an embedded object. You can double-click this object and update the contents of the Excel file by using in-place editing.To check whether your Excel file is embedded in your Word document, press ALT+F9. You should see a field code similar to the following: {EMBED Excel.Sheet.8}NOTE: Press ALT+F9 to turn the field code off and display the results of your embedded Excel worksheet. MORE INFORMATION
By default, Word 2000 inserts Excel files as objects rather than tables when you have a document open. The object displays a preview of the workbook. You can resize the object to display more of the data by double-clicking it and then dragging a sizing handle.
Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact a Microsoft Certified Solution Provider or the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft Certified Solution Providers, please see the following page on the World Wide Web: http://www.microsoft.com/mcsp/For more information about the support options available from Microsoft, please see the following page on the World Wide Web: http://www.microsoft.com/support/supportnet/overview/overview.aspThe following example macro demonstrates this: NOTE: Make sure you select the object before running this macro.
NOTE: If you do not select the embedded object before running the ConvertObject macro, the following error message appears: For more information about using the sample code in this article, click the article number below to view the article in the Microsoft Knowledge Base: Q212536 OFF2000: How to Run Sample Code from Knowledge Base Articles Additional query words:
Keywords : kbdta wd2000 |
Last Reviewed: September 15, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |