Hi All,
I am newbie to this forum. I have tried to open excel file using java, but problem is how read contents of excel cells.
I have tried same in VB, but i don't know how to do it using java.
Here is the my VB code, someone help using same in JAVA.
Set objexcel = CreateObject("E xcel.applicatio n")
objexcel.Visibl e = True
objexcel.Workbo oks.Open (filePath+"\fil ename.xls")
Thanks,
Selva
2 2878
Hi All,
I am newbie to this forum. I have tried to open excel file using java, but problem is how read contents of excel cells.
I have tried same in VB, but i don't know how to do it using java.
Here is the my VB code, someone help using same in JAVA.
Set objexcel = CreateObject("E xcel.applicatio n")
objexcel.Visibl e = True
objexcel.Workbo oks.Open (filePath+"\fil ename.xls")
Thanks,
Selva
Find a third party package for reading .xls files and read its documentation on how to use it.
You can try jxcell,it is java lib provide apis to support most excel feathers(read,w rite,format,for mula,graph,char t etcs) http://www.jxcell.net Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Phil Powell |
last post by:
I am using PHP 4.3.2 to create a CSV file, however, Excel constantly
views it as a single-column spreadsheet with everything in quotes,
whereas OpenOffice Calc views it as a legitimate spreadsheet in
separate columns/cells.
class ReportGenerator {
/**
* Generate content based upon type
|
by: Allison Bailey |
last post by:
Hi Folks,
I'm a brand new Python programmer, so please point me in the right
direction if this is not the best forum for this question....
I would like to open an existing MS Excel spreadsheet and extract
information from specific worksheets and cells.
I'm not really sure how to get started with this process.
I ran the COM Makepy...
|
by: Lane Friesen |
last post by:
I've developed a new form of client-based, secure 'Web Memory' that
uses the JAVA or dotNET VM to launch a 'terminate and stay
resident' program fragment that maintains persistence between web
pages by program reloading. Web Memory is the basis for an Open Source
e-commerce front end that could reduce web congestion and simplify
online...
|
by: TheAd |
last post by:
At this moment I use MsAccess and i can build about every databound
application i want. Who knows about a serious open source alternative?
Because Windows will be a client platform for some time, i prefer a
solution that (also) supports Windows.
On the net I found a number of products that i looked at, but none of
them gave me the impression...
|
by: Jeff |
last post by:
Help..
I have been using:
string sId =
((System.Web.UI.WebControls.TextBox)e.Item.Cells.Controls).Text;
To get the value of a cell in my datagrid.
When I set the cell to read only, I get an error message.
I need to retrieve this value so I can use it in my query to update the
| |
by: toffee |
last post by:
Hi all,
I got a pre-formatted spreadsheet. would it be possible using js to copy the
data from a table on the current webpage, open the spreadsheet and paste the
content ?
if so, anyone got any links or pointers?
i've already tried google - but all i get is ActiveX methods which work in a
very few cases.
|
by: blazedaces |
last post by:
Hi guys, what I'm I have is a jtable with boolean variables in the first column and text in the next two (checkboxes). I want my tableChanged method to make it so when I check one of the checkboxes then it would change whether that third column is editable or not.
I have made a short array that would hold values of either 0 or 1, basically...
|
by: Padma Athimoolam |
last post by:
Hi,
I am new to VB and XML.I want to populate XML Values in Excel Sheet.My Sample XML is
<?xml version="1.0" encoding="UTF-8" ?>
- <workbook>
- <worksheet name="Scorecard_KTC_MW">
<cell name="E9" formula="=sum(G9,I9,K9)" type="text" />
<cell name="E11" formula="=sum(G11,I11,K11)" type="Number" comment="Sample Help" />
<cell...
|
by: somsub |
last post by:
Hi,
When I tried to open excel sheet created by below code with MSexcel it showing "Unable to read file " error .
use Spreadsheet::WriteExcel;
$workbook = Spreadsheet::WriteExcel->new("sm2.xls");
I am using winxp OS and MS excel 2003 ....
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |