+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 -- Object does not support automation

  1. #1
    rchiu5hk
    Guest

    Excel 2007 -- Object does not support automation

    Dear all,

    I am using Excel 2007.
    I have written the c# dll which will use in Excel.
    Dim myObject as Object
    set myObject=new dllname.dllclass // it show the captioned error.

    Do you know why?
    I think it should be excel vba program of the lines above.

    Please help!!!

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Excel 2007 -- Object does not support automation

    Please take a few minutes to read the forum rules, and then edit your post to add code tags.

    Thanks.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    rchiu5hk
    Guest

    Re: Excel 2007 -- Object does not support automation

    I have solved by recreating the new c sharp project and rebuild ddl and tlb.
    It solved .

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Excel 2007 -- Object does not support automation

    Quote Originally Posted by rchiu5hk View Post
    I have solved by recreating the new c sharp project and rebuild ddl and tlb.
    It solved .
    1. Do not ignore Moderator's requests
    2. use Code tags when posting code in the forum
    3. mark the thread Solved

    I strongly suggest that you read the forum Rules that you agreed to when joining the Forum. You've managed to break three in one Thread. basically, read & follow the Rules or don't bother posting!
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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