marcusrainbow / xladd Goto Github PK
View Code? Open in Web Editor NEWTools for creating Excel addins in Rust using the Excel4 and Excel12 APIs
License: MIT License
Tools for creating Excel addins in Rust using the Excel4 and Excel12 APIs
License: MIT License
.DLL add-ins get opened as garbage-text when opened in 32-bit Excel, and succeed in 64-bit Excel.
Have only tried on Excel 2016
Do you think this is a quick fix? I might look into the source code of Excel-DNA to see how they succesfully wrapped the Excel C API for 32 and 64 bit versions.
Currently looking at this particular file
I can't see that functionality in the code, so I assume it's still a work in progress?
Other than that, very useful library, I'm using it extensively to create simple UI's in Excel - calling UDF Rust functions.
I have some heavy calculations to do and would love to make them async if possible. Basically a huge number of cells that each would use a given formula that I implement in rust.
Could you help me out on how I would make that formula async so it runs faster?
I have about 350000 rows and sequentially calculating them takes ages.
Hi Marcus,
I was wondering if you know of how I might be able to call the xlc functions using this. Typically, this is done with the Excel12(...) or Excel12v(...) functions.
#[no_mangle]
pub extern "stdcall" fn xlAlert() -> LPXLOPER12 {
let result = Box::new(Variant:;from_str("Tried to alert"));
let alert_text = Box::new(Variant::from_str("Hello from Rust"));
let alert_text_xloper = Box::into_raw(alert_text) as LPXLOPER12;
unsafe {
Excel12(xlcAlert as i32, alert_text_xloper, 1);
}
Box::into_raw(result) as LPXLOPER12
}
I get an "unresolved external symbol" error
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.