| View previous topic :: View next topic |
| Author |
Message |
huan311x Newbie

Joined: 24 Jul 2011 Posts: 1
|
Posted: Sun Jul 24, 2011 11:31 pm Post subject: Openoffice how to get the Cell's value? |
|
|
Openoffice how to get the Cell's value? For example,the value is the date.
thank you! |
|
| Back to top |
|
 |
JohnV Administrator

Joined: 07 Mar 2003 Posts: 8978 Location: Lexinton, Kentucky, USA
|
Posted: Mon Jul 25, 2011 7:30 am Post subject: |
|
|
| Code: | Sub Main
oSheet = ThisComponent.CurrentController.ActiveSheet
oCell = oSheet.getCellRangeByName("A1")
Print oCell.Value
Print oCell.String
End Sub |
|
|
| Back to top |
|
 |
|