Re: Returning multiple cell values.



I figured it out! The functions that I wrote are appropriate;
I just need to select the cells to which the results will be
returned, edit the first cell value, and hit ctrl+shift+enter.

On 11 Apr 17:53, Thomas Levine wrote:
I want to write a spreadsheet function that sends values to multiple cells.
That is, rather than writing one value to one cell,

    def one():
        return 1

I want to write values to three cells. The function below doesn't work, but
I wish it did.

    def three():
        return [[3,3,3]]

Do you know what I'm looking for?

Thanks

Tom


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]