Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to run and control an excel instance from java

Tags:

java

excel

com

My java application has a button which should open a user selected Excel file when clicked. On this file the user has to select a diagram. Finally they should click a button which triggers a process (macro, java method?) which changes the size of the diagram to values read from an object of the java application etc.

When searching on the internet I found things like COM bridges for java like JACOB, but this seem to run on windows32 only; is there anything that works cross-plattform?

I would be very happy if somebody could help me to find a good approach, a fitting library or any other helpful hint, because I am a bit confused at the moment and don't know how to start at all ;)

Thank you very much and have a nice day!

edda

like image 261
Edda Xyz Avatar asked Dec 19 '25 16:12

Edda Xyz


1 Answers

Check out http://j-interop.org/ . This can be used to call dcom applicaitons in a platform independent manner.

like image 56
jontro Avatar answered Dec 21 '25 09:12

jontro



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!