looking for a solution to use Excel COM objects in Java I found Com4j. Until now I was able to implement a lot of code, but I am now encountered a problem with the CustomProperties in Excel Workbooks. Tlbimp generates correct Workbook and DocumentProperties classes, but the following command unfortunately returns "null":
Hello,
looking for a solution to use Excel COM objects in Java I found Com4j. Until now I was able to implement a lot of code, but I am now encountered a problem with the CustomProperties in Excel Workbooks. Tlbimp generates correct Workbook and DocumentProperties classes, but the following command unfortunately returns "null":
The problem is not new and occurs also for C#. A solution for C# is described here:
Is the there described late binding approach in Com4j also possible? Or knows someone another way to get the right DocumentProperties object?
Many Thanks!
Lars