Requires Free Membership to View
This should be done via placing an OLE Container object on your form and giving it the appropriate properties to point to your Excel file. There are some nice demos available in Forms help that should be of value for you to review.
Basically, Forms can be used to access any product (like Excel, Word, etc) by placing the OLE container object on your canvas and then setting the properties for that object to use the Microsoft Excel application class. Once this is complete, the form is able to interact with and control the spreadsheet programmatically, as well as allowing the end user to activate the OLE container and interact directly with Excel (i.e. when you double-click on the container, the application's menus and toolbars change to be Excel's menu and toolbars and you work with the spreadsheet just like you were in Excel).
It's a bit difficult to be more detailed here, but as I mentioned above, several great examples of this technique can be found by clicking on Forms Help and looking up OLE. Hope this helps!
For More Information
- Dozens more answers to tough Oracle questions from Karen Morton are available.
- The Best Oracle Web Links: tips, tutorials, scripts, and more.
- Have an Oracle or SQL tip to offer your fellow DBAs and developers? The best tips submitted will receive a cool prize. Submit your tip today!
- Ask your technical Oracle and SQL questions -- or help out your peers by answering them -- in our live discussion forums.
- Ask the Experts yourself: Our SQL, database design, Oracle, SQL Server, DB2, metadata, object-oriented and data warehousing gurus are waiting to answer your toughest questions.
This was first published in August 2002

Join the conversationComment
Share
Comments
Results
Contribute to the conversation