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 713405
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T04:57:27+00:00 2026-05-14T04:57:27+00:00

I have CSV file and Macro in VBA. I want to open CSV file

  • 0

I have CSV file and Macro in VBA. I want to open CSV file in Excel and automatically launch a macro which creates a chart. Is it possible? How to do this (Using language: Java)?

  • 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. Editorial Team
    Editorial Team
    2026-05-14T04:57:28+00:00Added an answer on May 14, 2026 at 4:57 am

    There are a couple ways to approach this.

    First, you could use “Excel Automation” (which is a set of COM objects that actually uses Excel’s internal engine to do things programatically). This is typically done using Microsoft languages (Visual Basic or C#), though there may be ways to do this with Java through some kind of adapter (I’d shy away from this method myself, as Excel automation is problematic enough when used as intended, let alone trying to do it from Java). Try research starting here.

    Alternately, or you could use some external Java library (such as the Java Excel API) to create the file manually from the .csv source data. Including a macro that produces charts may be more difficult here; my quick research doesn’t turn up any that support that level of interaction (e.g. creating and running macros to produce charts).

    Generally speaking, this is a non-trivial task that you’re going to need to do your own research on. Start by doing a web search for “Java Excel”, “Java Excel Automation”, “Java Excel Chart”, “Java Excel Macro”, and any related combination.

    You may also want to consider whether there are other solutions to the underlying problem. For example, can you import the .csv data in some other way (for example, into memory with a Python script or into a relational database), and then use the Google Chart API to produce your charts? If the requirements aren’t that complex in themselves, you may find more success avoiding Excel here.

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

Sidebar

Related Questions

How does one open a semicolon delimited CSV file with VBA in Excel 2000?
I have CSV file with sample data in this form : 220 30 255
I have a CSV file which the code below uses to put the contents
I have a CSV file with many rows in which I need to update/replace
I have a csv file which has two columns, a numeric ID ( IDVAR
I have csv file with a line that looks something like this: ,,,,,,,,,, That's
I have csv file like this: item,#RGB item1,#ffcc00 item1,#ffcc00 item1,#ff00cc item2,#00ffcc item2,#ffcc00 item2,#ffcc00 item2,#ffcc00
I have a CSV file which contains data seperated with tabs. I need to
I have a CSV file formatted like this: A @ B @ C @
I have a simple report that I want to export to a CSV file.

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.