XlCellEdit
A Visual J++ Sample Application
© 1998 Microsoft Corporation. All rights
reserved.
Other product and company names herein may be
the trademarks of their respective owners.
Contents - Click any of the
items below
This form will allow the user to open Microsoft Excel. The
form then creates a new workbook and worksheet, and allows the user to edit the
contents of cell "A1".
- Office Automation
- Automatic Generation of COM
wrappers
To run this sample, you
must have Excel 97 installed.
Before building and running this project, you must create wrappers for the Microsoft Excel 8.0 Object Library.
To create the wrappers
- On the Project menu, click Add COM Wrapper. The COM Wrapper dialog box appears.
- In the COM Wrapper dialog box, check the box for Microsoft Excel 8.0 Object Library. This item will only appear if Microsoft Excel 8.0 has already been installed on the computer.
- Click OK to close the dialog box and to create the wrappers.
Three packages will be added to your project:
- _excel8 (Excel wrappers)
- _mso97 (Office wrappers)
- _vbeext1 (VBE wrappers)
Once the wrapper packages have been created, build and run the sample.
-
Select "Add
Com Wrapper..." from the Project menu
-
Check the
"Microsoft Excel 8.0 Object Library" Box
-
Click the
"OK" button
Click the
Play button or double-click XlCellEdit.class in the Windows
Explorer.
Thank you for using Microsoft
products. For more information on Visual J++, visit the Microsoft Corporate Web
Site or jump straight to the Visual J++ Owners Area!
You can also visit Microsoft Technical Support and Microsoft Developer Network Online.