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

  • SEARCH
  • Home
  • 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 3421372
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T06:05:57+00:00 2026-05-18T06:05:57+00:00

I use Microsoft.Office.Interop.Excel.dll COM to export excel. I distribute my application to clients. It

  • 0

I use Microsoft.Office.Interop.Excel.dll COM to export excel. I distribute my application to clients. It runs well on my computer but on another computer, it cause a error.

I wonder that application package should be included Microsoft.Office.Interop.Excel.dll and the computer must be installed Microsoft Excel. Thanks.

P/S: My application is C# .net 2.0.

UPDATE: I am having a problem. I don’t know the excel’s version on the client computer. So, which version of PIA I will use?

If I build my application with Microsoft.Office.Interop.Excel.dll version 11 (suitable with Office 2003), but what problem will happen if the client computer have Office 2007. It will run or no? How to use only one Microsoft.Office.Interop.Excel.dll which run well on any client computers which have one of office 2003, 2007 or 2010.

Thanks.

  • 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-05-18T06:05:57+00:00Added an answer on May 18, 2026 at 6:05 am

    Did you deploy the other necessary DLL’s?

    • Interop.Microsoft.Office.Core.dll
    • Microsoft.Vbe.Interop.dll

    EDIT:

    You should see two references in your project: Microsoft.Office.Core and VBIDE. Click on these references and set the property “Local Copy” to true.

    A complete refrence to installing and deploying the PIA can be found here: http://msdn.microsoft.com/en-us/library/aa159923%28office.11%29.aspx

    On that website is also a link to a redistributable file you can include and run from your installer to install the PIA into the GAC.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to use Microsoft.Office.Interop.Excel dll to write the data into excel sheet. I
We want to use Microsoft.Office.Interop.Excel in our web application. Everything works fine on our
I'm trying to use Microsoft.Office.Interop.Excel. It seems to load fine but when I try
I am writing an application which uses the Microsoft.Office.Interop.Excel assembly to export/import data from
Issue: I am using the Microsoft.Office.Interop.Excel library in an ASP.NET application, and I have
I have an application that uses Microsoft.Office.Interop.Excel to pull data from an Excel workbook.
We developed an application that uses Excel interop libraries (Microsoft.Office.Interop.Excel) to read some Excel
I tried to use F# read a xls file as below open Microsoft.Office.Interop.Excel let
I develop an application that use the Microsoft.Interop.Excel version 11 in .Net 3.5 How
What I want to do I'm trying to use the Microsoft.Office.Interop.Excel namespace to open

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.