+ Reply to Thread
Results 1 to 3 of 3

VBA Excel code to call a .DLL

  1. #1
    Registered User
    Join Date
    01-18-2013
    Location
    Lisbon, Portugal
    MS-Off Ver
    Excel 2010
    Posts
    2

    VBA Excel code to call a .DLL

    I've created a DLL with IKVM from the following simple Java code:

    Please Login or Register  to view this content.
    Can anybody help me with the specific code in VBA Excel to call this DLL to the spreadsheet and it return in a cell the value of "Soma"?
    Last edited by cdiogo7; 11-25-2014 at 07:53 PM.

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,177

    Re: VBA Excel code to call a .DLL

    usage: answer = Soma(2,3)

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-18-2013
    Location
    Lisbon, Portugal
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: VBA Excel code to call a .DLL

    Thanks ranman256 but what I want is to make a call of the DLL.
    I want to know the code that calls the DLL methods and functions I wrote in Java and encapsulate in the DLL and it will answer by filling the cells in Excel.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Add button to call VBA code
    By paulmac66 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-20-2011, 10:31 AM
  2. [SOLVED] Code in one workbook to call code in another XL file
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-01-2005, 11:05 AM
  3. [SOLVED] [SOLVED] How do I call a method in VB from Excel with JUST code?
    By Doseeson in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-27-2005, 08:05 PM
  4. [SOLVED] RE: How do I call a method in VB from Excel with JUST code?
    By K Dales in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-27-2005, 05:05 PM
  5. [SOLVED] How To Call VBA Code from Excel 4 Macro
    By Gaston in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-25-2005, 06:06 PM

Tags for this Thread

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