von moritz » Fr, 20.05.2005 18:07
Versuchs mal so:
Sub Main
Dim Doc As Object
Dim Sheet As Object
Dim Cell As Object
Dim Inhalt as Variant
Dim sInhalt as string
Doc = thisComponent
Sheet = Doc.Sheets(0)
Cell = Sheet.getCellByPosition(0,0)
sInhalt=Cell.getstring 'Zahlen und Zeichenketten
Inhalt = Cell.Value 'nur Zahlen
msgbox sInhalt
msgbox Inhalt(0)
End Sub
Moritz
Versuchs mal so:
Sub Main
Dim Doc As Object
Dim Sheet As Object
Dim Cell As Object
Dim Inhalt as Variant
Dim sInhalt as string
Doc = thisComponent
Sheet = Doc.Sheets(0)
Cell = Sheet.getCellByPosition(0,0)
sInhalt=Cell.getstring 'Zahlen und Zeichenketten
Inhalt = Cell.Value 'nur Zahlen
msgbox sInhalt
msgbox Inhalt(0)
End Sub
Moritz