Solved

Display an excel worksheet as child form in a VB6 MDI application

Posted on 2006-11-04
3
620 Views
Last Modified: 2012-06-21
I'am looking for a solution on how to display an excel worksheet as child form in a VB6 MDI application
and if the user makes a change in the excel worksheet and does not want to save the changes to that
spreadsheet, when the VB6 MDI application closes the excel worksheet unloads properly when the VB6 MDI application closes.
0
Comment
Question by:James_Tripp
3 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 17873664
you could open the excel sheet inside an OLE container that is placed on a MDI Child form.
from VB, you can then access the excel spreadsheet via the olecontainer's document property

http://support.microsoft.com/kb/242243
0
 
LVL 9

Expert Comment

by:Naveen Swamy
ID: 17876562
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question