To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=62694
                  Issue #:|62694
                  Summary:|Across sheet parameter to custom function
                Component:|Spreadsheet
                  Version:|1.0.0
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|ENHANCEMENT
                 Priority:|P3
             Subcomponent:|programming
              Assigned to:|spreadsheet
              Reported by:|iannz





------- Additional comments from [EMAIL PROTECTED] Wed Mar  1 14:00:02 -0800 
2006 -------
I would like to be able to create custom spreadsheet functions that accept a 
range parameter that works across sheets.

E.g. In a cell on a spreadsheet:
=FNMYCUSTOMFUNCTION(Sheet1.B41:Sheet6.C88)

Function declaration:
Function FNMYCUSTOMFUNCTION(rng)

Currently returns: Err:504 Error in parameter list.

Note that =SUM(Sheet1.B41:Sheet6.C88) works as I'd expect summing all
the values on all 6 sheets between B41 and C88.

Note also that =FNMYCUSTOMFUNCTION(Sheet1.B41:C88) also works as
expected - passing a two dimensional array to the variable rng.

This enhancement would mean that custom functions could work in the same way as
the built-in functions. Separating the range into several single-sheet range
parameters is not a particularly satisfactory solution as spreadsheets using
such custom functions would be harder to maintain. E.g. Add a new sheet and
every instance of the function would have to be changed.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to