+ Reply to Thread
Results 1 to 3 of 3

Running Java code from excel

  1. #1
    Registered User
    Join Date
    04-10-2007
    Posts
    34

    Running Java code from excel

    Hi,

    I have a large comprehensive program written in Java and I would like to incorporate the answer in Excel... is there any way I can call the Java program from Excel, execute it and record the answer on an excel spreadsheet?

    Thanks,

    mbrolass.

  2. #2
    Forum Expert
    Join Date
    11-23-2005
    Location
    Rome
    MS-Off Ver
    Ms Office 2016
    Posts
    1,628
    I believe you have to copy your .class file in <system folder>\java\trustlib, for example: c:\windows\java\trustlib and then call the object from VBA, for example, if you have a class to create a zip file, you can do:
    Please Login or Register  to view this content.
    I don't know anymore about it... I hope it can help.

    Regards,
    Antonio

  3. #3
    Registered User
    Join Date
    01-11-2009
    Location
    Frankfurt
    MS-Off Ver
    Excel 2003
    Posts
    1

    Cool

    Quote Originally Posted by Mbrolass View Post
    Hi,

    I have a large comprehensive program written in Java and I would like to incorporate the answer in Excel... is there any way I can call the Java program from Excel, execute it and record the answer on an excel spreadsheet?

    Thanks,

    mbrolass.
    You can call Java from Excel using Obba. The addin allows to instantiate objects, call methods (on them) and retrieve values. Its also available for OpenOffice on other plattforms.

+ 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