How can I embed Excel into a Dialog?

Posted on 2004-11-18
Last Modified: 2013-11-20
Hi All,

I want to embed Excel into a dialog within my application.  I have read the articles on MSDN that show how to embed it within a document but that's not how I would like to do it.  Is there some sort of OLE control that I can use?  If so, sample code on how to use it would be greatly appreciated.

Thanks and Regards
Question by:StanChart
    LVL 6

    Accepted Solution

    LVL 14

    Expert Comment

    Right-click in your dialog in the dialog editor and click "Insert ActiveX Control".  Find Excel in the list (probably under "Microsoft Excel" rather than "Excel" - I can't find out right now because this machine doesn't have Excel installed).

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
    Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
    This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    760 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

    14 Experts available now in Live!

    Get 1:1 Help Now