Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 53227
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T17:01:49+00:00 2026-05-10T17:01:49+00:00

I want to open and manipulate Excel files with ActiveX. I’ve had success with

  • 0

I want to open and manipulate Excel files with ActiveX. I’ve had success with Python’s Win32 Extensions and Groovy’s Scriptom libraries on other projects but need to do this is pure Java this time if possible.

I’ve tried the Jacob Java COM Bridge but that doesn’t seem as straightforward or simple to use, and I couldn’t get it to retrieve cell values (even though this is the library underlying Scriptom). Are there alternatives?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T17:01:50+00:00Added an answer on May 10, 2026 at 5:01 pm

    Jacob is really the tool for the job here. I recommend that you take the time to learn a bit about how COM and ActiveX work, and I think you’ll find that it’s easier to use. COM is quite an accomplishment, but it’s hard. Wrappers like VB make it seem easy (For the limited use that they work for), but it is not at all easy. I have a great book on learning COM, but don’t have the name handy right now…

    You want to learn about the IDispatch interface (this is what most of Excel’s COM interface is developed around). It’s a nasty, nasty interface (one of those viral things that you can do so much with it that it becomes impossible to tell what is actually happening) – but learning it is key.

    If you are having issues in just one area (i.e. getting a value from a cell), you could grab the source for Scriptom and see what they do (open source, after all!).

    Another suggestion is to try to implement some test cases of your code in VBA and make sure that you are correctly thinking through all the return values. When we were doing Excel automation in one of our Java apps, we implemented the general algorithm from Word’s VBA, worked through the problem cases, etc… After that, transferring over to Jacob was pretty straightforward.

    • K
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 62k
  • Answers 62k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer .Net memory profiler of WinDbg with SOS will allow you… May 11, 2026 at 10:10 am
  • added an answer The security model in modern browsers prevents JavaScript from making… May 11, 2026 at 10:10 am
  • added an answer Iterable is a generic interface. A problem you might be… May 11, 2026 at 10:10 am

Related Questions

I want to open and manipulate Excel files with ActiveX. I've had success with
I use Perforce for source control at work and I want to 'open for
I've opened a new window with window.open() and I want to use the reference
I want to download this open source application, and they are using Git. What
I want to set up a continuous integration and test framework for my open
I want to make a JavaScript application that's not open source, and thus I
I want to read, write and create Spreadsheets in the Open Document Format with
In php I have open a .php file and want to evaluate certain lines.
I want to open a file for reading, the C++ way. I need to
I want to open a folder window, in the appropriate file manager, from within

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.