Post Reply 
Direct writing to Spreadsheet
09-17-2015, 06:38 AM
Post: #4
RE: Direct writing to Spreadsheet
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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Direct writing to Spreadsheet - Powersoft - 09-16-2015, 11:16 AM
RE: Direct writing to Spreadsheet - cyrille de brébisson - 09-17-2015 06:38 AM



User(s) browsing this thread: 1 Guest(s)