patronas / opuxl Goto Github PK
View Code? Open in Web Editor NEWExcel Addin to connect your favorite programming language with your Excel sheets
License: MIT License
Excel Addin to connect your favorite programming language with your Excel sheets
License: MIT License
Actually the result matrix is created in the active sheet starting at active cell.
Usually it should be created starting the original cell containing the function call.
Example:
Assume we write the formula in cell A5 and we use cell A1 as reference for the first parameter s.
So:
Now we change the parameter in cell A1 from M to F.
That produces the vector [11,12,13,...,110] in cells A2,A3,A4,...,A102
So the second function call overwrites the function in cell A5.
(My) expectation:
result is updated in the original area, in the example in cells A5,A6,...
I think, the problem is using the active cell instead of the cell containing the function call which is actually performed.
public object display()
{
Excel.Application app = (Excel.Application)ExcelDnaUtil.Application;
Excel.Worksheet worksheet = (Excel.Worksheet)app.ActiveWorkbook.ActiveSheet;
Excel.Range startCell = app.ActiveCell;
var propKey = "" + startCell.Row + PROPERTY_DIVIDER + startCell.Column;
Hope my explanation is clear enough.
Excel returns "Error while executing Function" if the Java function returns a Java object.
XLLOOP supports object handles, so that objects can be used as arguments for other functions.
Is it possible for opuxl to support that too?
current:
target:
Eg.: config.ini
ip=127.0.0.1
port=56789
prefix=Opus
I downloaded 2 files below
https://github.com/PATRONAS/opuxl/raw/master/opuxl_addin/Opuxl/OpuxlClassLibrary/Opuxl.xll
https://github.com/PATRONAS/opuxl/raw/master/opuxl_addin/Opuxl/OpuxlClassLibrary/Opuxl.dna
Installed Opuxl.xll add-in, the add-in appeared in the add-in list and was activated/ticked
Closed Excel
Started Java DemoServer
Console showed "[Thread-0] INFO de.patronas.opus.opuxl.server.OpuxlServer - Opuxel Server Socket startet on port: 61379"
Started Excel, Opus functions weren't registered, =Opus.GetSeries(3) returns #NAME?
Java process was OK, I was able to telnet to 127.0.0.1:61379, so it looks like the add-in couldn't create a connection
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.