XEROF

 

xlsgen 2.1 build #58 : Support for array formulas and array constants


Build 2.1.0.58 adds the ability to read and write array formulas and array constants. This is a long overdue, and I have thought it was time to enable it.

Array formulas is a somewhat abstract concept in Excel : it allows to define formulas based on references that are intentionally larger than usual (for instance areas instead of cells) which are then projected depending on the context. Array formulas can return multiple values. One can create an array formula in Excel by entering a formula and hitting Ctrl+Shift+Enter. It adds braces around the formula, as in {=SUM(D3:E3*D4:E4)}

Array constants are simply a way to put multiple constant values in the same place. Constants are either numbers or strings, not cell references. An example of array constant is =SUM({1;2}). Note the position of braces.

How to create array formulas and array constants? As usual (here in C++),

// an example of array-formula
worksheet->Formula[8][4] = L"{=SUM(1;2)}";

// an example of array constant
worksheet->Formula[8][4] = L"=SUM({\"euro €\";1.0123;4;\"\"})";

Posted on 16-April-2007 19:32 | Category: xlsgen, Excel generator | comment[0] | trackbacks[17]

 

 

<-- previous page

< April >
0102030405
0607080910
1112131415
1617181920
2122232425
2627282930



 

 

This site
Home
Articles

DevTools
CPU-Z
EditPlus
ExplorerXP
Kill.exe
OllyDbg
DependencyWalker
Process Explorer
autoruns.exe
Araxis
COM Trace injection
CodeStats
NetBrute
FileMon/Regmon
BoundsChecker
AQTime profiler
Source monitor
GDI leaks tracking
Rootkit revealer
Rootkit removal
RunAsLimitedUser(1)
RunAsLimitedUser(2)

 

 

Liens
Le Plan B
Un jour à Paris
Meneame
Rezo.net (aggr)
Reseau voltaire
Cuba solidarity project
Le grand soir
L'autre journal
Le courrier suisse
L'Orient, le jour
Agoravox (aggr)