09-16-2015, 11:16 AM
Post: #1
 Powersoft Member Posts: 100 Joined: Feb 2015
hello,

Is it posible to write results direct to the Spreadsheet?
If yes where can I find Some example(s)

I working on a planet calculator,
so I calculate Some Numbers and wont
put them in a spreadsheet as a big overview.

Cheers,
09-16-2015, 12:26 PM
Post: #2
 Thomas_Sch Senior Member Posts: 389 Joined: Dec 2013
Are you looking for something like
Code:
Spreadsheet.Cell(1,4):=value
?
If you have more than one spreadsheet app, you have to
for e.g.
Code:
spread1.Cell(2,3):=yourvalue

Cheers, thomas
09-16-2015, 02:35 PM
Post: #3
 Tim Wessman Senior Member Posts: 2,282 Joined: Dec 2013
Note that if you aren't trying to access by a numeric algorithm, you can also do Spreadsheet.A1, Spreadsheet.B2 and just use the direct cell reference. The "Cell" command allows you to use a number form for accessing the cell reference.

TW

Although I work for HP, the views and opinions I post here are my own.
09-17-2015, 06:38 AM
Post: #4
 cyrille de brébisson Senior Member Posts: 1,047 Joined: Dec 2013
Hello,

You can also do:
A1:='A2+A3' to assign a formula to a cell.

You can also access the cell meta data/attributes using A1(n) or Cell(r, c, n)
Look at the help for Cell References and Cell for more information:

CELL ATTRIBUTES (n)
-1: all attributes. If the cell has nothing defined, returns -1, else return a list of 11 objects.
0: value (read only, you can not set the cell value)
1: formula
2: name
3: number format: Standard 0, Fixed 1, Scientific 2, Engineering 3, Floating 4, Rounded 5, unspecified –1
4: number of decimal places: 1 to 11, or unspecified = –1
5: font: -1: 0 to 6, unspecified = –1
6: background color: cell fill color (color, or 32786 if unspecified)
7: foreground color: contents color (color, or 32786 if unspecified)
8: horizontal alignment: Left = 0, Center = 1, Right = 2 , unspecified = –1
9: vertical alignment: Top = 0, Center = 1, Bottom = 2, unspecified = –1
10: show strings in quotes: Yes = 0, No = 1, unspecified = –1
11: textbook mode (as opposed to algebraic mode): Yes = 0, No = 1, unspecified = –1

Cyrille

Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP.
09-19-2015, 04:00 PM
Post: #5
 Thomas_Sch Senior Member Posts: 389 Joined: Dec 2013
09-19-2015, 07:09 PM
Post: #6
 Powersoft Member Posts: 100 Joined: Feb 2015
Thanks all for this wonderful help.
I have tried it, and wat I won't to do could now be done.

Is it posible to rename a spreadsheet?

Cheers,

Jan
09-19-2015, 10:43 PM
Post: #7
 Thomas_Sch Senior Member Posts: 389 Joined: Dec 2013