+ Reply to Thread
Results 1 to 3 of 3

Access C#-dll via Excel VBA?

  1. #1
    Registered User
    Join Date
    01-03-2011
    Location
    Berlin, Germany
    MS-Off Ver
    Excel 2010
    Posts
    9

    Access C#-dll via Excel VBA?

    Hello,

    I have scrawled for hours all over google and other forums but haven't found one explanation or code snippet that would fully work on my Excel 2010/Visual Studio C# 2010 environment:

    I just want to provide some methods in a *.dll created by C# and then access these methods via Excel VBA. Can anyone help please with suggestions/short code examples that do work?

    Thank you very much in advance for every answer/link/code etc.

    TRex

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Access C#-dll via Excel VBA?

    Is this what you need?
    http://msdn.microsoft.com/en-us/library/bb687915.aspx or
    http://www.vb-helper.com/howto_use_vb_dll_in_excel.html
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    01-03-2011
    Location
    Berlin, Germany
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Access C#-dll via Excel VBA?

    Thanks MarvinP for the two links, I knew the first one and checked the second but both unfortunately don't help; is it really that hard?

+ 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