Solved

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

Posted on 2006-11-04
3
612 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 142

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

813 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now