I have a .java file with a function in it.
I have Netbeans.
...And I have Excel and VBA.
What do I need to do to call a function from a java file in VBA? I have read things online such as using javareg to register the class file (which is obsolete). I am just confused on how to correctly compile or register this file.
I think the VB code is for example
Set vj = CreateObject("DoubleInt")
MsgBox vj.IntTimesTwo(100)
Where for example the .java file is called DoubleInt and the only function is IntTimesTwo.
But am clueless on the connection between the two. Although this is pointless, knowing this will help me to add other java files that are much more complex.
Bookmarks