Categories:

Audio (13)

Biotech (29)

Bytecode (22)

Database (79)

Framework (7)

Game (7)

General (497)

Graphics (53)

I/O (32)

IDE (2)

JAR Tools (70)

JavaBeans (16)

JDBC (86)

JDK (338)

JSP (20)

Logging (90)

Mail (54)

Messaging (8)

Network (106)

PDF (82)

Report (7)

Scripting (75)

Security (67)

Server (112)

Servlet (17)

SOAP (24)

Testing (55)

Web (24)

XML (287)

Other Resources:

Test to Read Formulas from Excel File with jxl.jar

Q

How to run the test to read formulas from an existing Excel file with jxl.jar?

✍: FYIcenter.com

A

The following steps shows you how to run the test to read formulas from an existing Excel file with jxl.jar:

1. Open command line window to verify jxl.jar installation. "jxl.jar" file and "jxlrwtest" file are needed:

C:\cd \fyicenter\jexcelapi C:\fyicenter\jexcelapi>dir 10/24/2009 10:11 AM 725,735 jxl.jar 09/07/2009 03:26 PM 93,696 jxlrwtest.xls ...

2. Use the "java -jar" command to run the test program:

C:\fyicenter\jexcelapi>\local\jdk-1.8.0\bin\java -jar jxl.jar -formulas jxlrwtest.xls | more original Formula in B26 value: 16.5 formula: SUM(B21:B25) Formula in B27 value: -0.573 formula: SIN((B24+B23-1.0)*9.0) Formula in B80 value: 1.571 formula: modified!B10/2.0 Formula in F85 value: 0.333 formula: E85/3.0 Formula in G85 value: 1.333 formula: E85+F85 Formula in F86 value: 0.667 formula: E86/3.0 Formula in G86 value: 2.667 formula: E86+F86 Formula in F87 value: 1 formula: E87/3.0 Formula in G87 value: 4 formula: E87+F87 Formula in F88 value: 1.333 formula: E88/3.0 Formula in G88 value: 5.333 formula: E88+F88 Formula in F89 value: 1.667 formula: E89/3.0 Formula in G89 value: 6.667 formula: E89+F89 Formula in F90 value: 1.667 formula: E90/3.0 Formula in G90 value: 6.667 formula: E90+F90 Formula in F91 value: 1.667 formula: E91/3.0 Formula in G91 value: 6.667 formula: E91+F91 Formula in F92 value: 1.667 formula: E92/3.0 Formula in G92 value: 6.667 formula: E92+F92 Formula in F93 value: 1.667 formula: E93/3.0 Formula in G93 value: 6.667 formula: E93+F93 Formula in F94 value: 1.667 formula: E94/3.0 Formula in G94 value: 6.667 formula: E94+F94 -- More --

2018-02-21, 1025👍, 0💬

Popular Posts:

The JSR 105 XML Digital Signature 1.0.1 FCS implementation provides an API and implementation that a...

What Is mail.jar of JavaMail 1.2? I got the JAR file from javamail-1_2.zip. mail.jar in javamail-1_2...

JDK 1.1 source code directory contains Java source code for JDK 1.1 core classes: "C:\fyicenter\jdk-...

Saxon-HE (home edition) is an open source product available under the Mozilla Public License. It pro...

JasperReports, the world's most popular open source business intelligence and reporting engine and J...