Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using excel as UI without VB

I think every business person would like to have excel UI, however they are forced into using web applications that sometimes look like really bad excel.

Are there any frameworks that help build excel ui without VB? I dont mean framework like POI or JExcel that allows you to generate excel reports.

like image 912
IAdapter Avatar asked Mar 23 '09 16:03

IAdapter


4 Answers

I've seen many applications built using Excel. All of them were clumsy, error prone, and next to impossible to keep up-to-date.

If the end user needs an application to work like Excel for some grid calculations, then give them a tool to do so, or let them use Excel for that portion.

However using Excel / VBA exclusively to develop big Enterprise worthy applications is heading down the wrong road. It might work well for a while, but it won't be long before issues expose the weak points.

Since you ended talking about reports... yes, by all means have your application export to CSV, HTML, PDF, Excel etc. That way the user that wants to use Excel to generate pretty pie charts, and reformat/search/scan/crop the data can do so with the tool they feel comfortable with.

like image 164
scunliffe Avatar answered Nov 12 '22 19:11

scunliffe


A combination of the two can work quite well... Excel is not great for inputting data, this is where an app (desktop or web) works better, but excel is great for dynamic reports and analyzing data.

The best approach for dynamic reports I've seen is to write add-ins that add new functions to excel (e.g. to pull in real time data). in the java space you could try XLLoop - this allows you to expose POJO functions in excel (full disclosure: I work on this project).

like image 34
Peter Smith Avatar answered Nov 12 '22 19:11

Peter Smith


Obba is an Excel Add-In which allows to instantiate Java objects and work with them directly in Excel (without VBA or any other glue code).

The nice part is that it is fully transparent what the Excel Sheet (UI) does to your Java classes.

like image 2
Christian Fries Avatar answered Nov 12 '22 18:11

Christian Fries


I am not sure what you mean by UI here, but if it is for the data presentation (as not data input) you could e.g use SQL Server Reporting Services and export the results to excel format. Alternatively you can parse your data into excel xml format and allow the user to open it as excel file (that is a bit painful though if your data is more complex than a simple table)

EDIT

I went through a pain of presenting and processing data with the use of excel when creating a web system that was replacing old paper work based one - that was a requirement for a transition time. It is a real pain, all the data validation, ensuring that what is submitted back has not been modified structurewise etc.

My conclusion would be:

  • use the web system for inputing data
  • if required provide the excel format for reporting
  • if really, really required you could implement parsing excel into the web system for inputing data, but then add some human validation as it is humanly impossible to predict all the possible errors one can create in excel
like image 1
kristof Avatar answered Nov 12 '22 19:11

kristof