Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8900707
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T01:09:48+00:00 2026-06-15T01:09:48+00:00

I have a VSTO project targeting Excel. I also have a WinForm application written

  • 0

I have a VSTO project targeting Excel. I also have a WinForm application written in C#. This is all programmed in C# using .Net Framework 4 and VS 2010.

My problem is that I want to be able to invoke this VSTO application, without first opening Excel. So I will click a button in my WinForm app and it should launch Excel and call the VSTO, which would then read from my database and put some values into the Excel sheet.

Is there an official way of doing this or if not, at least a workaround?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T01:09:49+00:00Added an answer on June 15, 2026 at 1:09 am

    That is very easy:

    1. You call Excel using Automation using something like GetObject method here more details. As I remember object name will be Excel.Application. This “GetObject” method will either run new instance of Excel (it could be even invisible) or will return you a reference to existing instance.
    2. Call your add-on either through Application.COMAddIns or using any other method like WCF – choice of the communication technology is up to you.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have written a few Excel 2003/2007 add-ins using VSTO, and I usually end
I have a VSTO-enabled .xlt template project built in VS 2010, targeting .NET 4.0.
we have created a VSTO Excel workbook with VS2010, .NET 4.0. After we publish
I have an Excel VSTO workbook project. The excel workbook uses windows service WCF
I am working on a VSTO project using excel 2010 and visual studio 2010.
I am using Excel 2007. I have C# code written in a separate binary.
VSTO 4.0 / Office 2007 In an Excel document-level automation project, I have a
I am developing an add-in using VSTO for Microsoft project and I have a
I am working on C# VSTO(excel). I have created excel workbook project. I have
In Vsto-excel project , i have a macro in a particular module. By code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.