Solved

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

Posted on 2006-11-04
3
633 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA error replacing data 6 41
Spell Check in VB6 13 137
Child Form in front 4 57
VBA - Excel, Hide/unhide range of rows on sheet with listbox selection 9 101
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

733 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