+ Reply to Thread
Results 1 to 3 of 3

C# code works fine with Excel2007 but produces exception while running with Excel2003

  1. #1
    Registered User
    Join Date
    12-18-2008
    Location
    Hyderabad
    Posts
    2

    C# code works fine with Excel2007 but produces exception while running with Excel2003

    Hi,

    I am working on creating Excel charts programmatically using Excel inter-op Assemblies (12.0.0.0), the code builds and runs fine on a machine with office 2007. And the same code when running on some other machine having office 2003 (i.e. Excel inter-op Assembly (11.0.0.0) builds successfully but produces below exceptions at runtime. Please let me know if I am missing anything. Any suggestions on this will be appreciated.


    Unhandled Exception: System.Runtime.InteropServices.COMException (0x800A03EC): E
    xception from HRESULT: 0x800A03EC
    at Microsoft.Office.Interop.Excel._Chart.set_HasTitle(Boolean RHS)

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    Welcome to Exceltip forum

    Please take a couple of minutes and read the Forum Rules - Rule 5

    Your duplicate thread posting has been closed
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

  3. #3
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Your post does not comply with Rule 8 of our Forum RULES. Cross-posting is when you post the same question in other forums on the web. You'll find people are disinclined to respond to cross-posts because they may be wasting their time solving a problem that has been solved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser)to the cross-post. Expect cross-posts without a link to be closed a message will be posted by the moderator explaining why. We are here to help so help us help you!

    http://www.theofficeexperts.com/foru...ad.php?t=10216
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1