ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Nevertheless, in this case, the real question is: "What is Java doing here?" For that matter, "What is Linux doing here?"
Microsoft Excel is (koff, koff ...) "the flagship of their fleet," and (yes, I am complimenting Microsoft ...) still "one helluva product." Normally, people ... do things ... (heh, whether they should be attempting these things or not!) ... using Visual Basic macros. Or, they are using the OLE interface. (Which, after "never-mind how many" releases ... allright, allright, it was complicated ... Microsoft actually did get "very right.")
So, what exactly does this have to do with Java and with Linux? To me, it sounds like "you're barkin' up the wrong tree and holdin' the wrong gun!"
Let me clarify
Our app: get large data from many location SQL, XML...and storage to Excel.
We want sorting all data by multi cols and comparing together.
Can't use macro...
With .NET or Vb is very easy , using sorting
Set objRange = objExcel.ActiveCell.EntireRow
objRange.Sort objRange, xlAscending, , , , , , xlNo, , , xlSortRows
set objExcel=nothing
I have to admit I don't know MS Desktop products like Excel, but I am under the impression that its supposed to be pretty good at what you are asking.
If you want to process externally, usual approach is to export as csv and then use whatever language you want (I've done it in Perl), creating new o/p also as csv, then re-import.
I don't know if you can call Java directly from Excel (or vice versa...)
Before (dot)net, m$ used to push visual basic, visual c++, visual j++, visual inter dev all usually bundled together as visual studio though people mostly used only visual basic.
I expect that the if you get hold of the manual/cd you could get the solution.
The set commands will be similar to vb but with java syntax.
Let me clarify
Our app: get large data from many location SQL, XML...and storage to Excel.
We want sorting all data by multi cols and comparing together.
Can't use macro...
With .NET or Vb is very easy , using sorting
Set objRange = objExcel.ActiveCell.EntireRow
objRange.Sort objRange, xlAscending, , , , , , xlNo, , , xlSortRows
set objExcel=nothing
But java...?
Not sure about anyone else, but I am not sure how the above clarified anything??
If .NET or VB is so easy, again, why is java in this mix???
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.