Hallo Niklas,
these are the the other statements:
Dim LokaleEinstellungen As New com.sun.star.lang.Locale
Dim ZahlenFormat As Object
Dim ZahlenFormatString As String
Dim ZahlenFormatID As Long
LokaleEinstellungen.Language = "de"
LokaleEinstellungen.Country = "de"
in the table itself I got:
Hoch = Val(Hoch)
Hoch = Tabelle3.getCellByPosition(5, Count1).String
Wert = Tabelle10.getCellByPosition(5, Start10)
Wert.Value = Hoch
Wert.NumberFormat = ZahlenFormatID
I really appreciate your help. Thanks.
Regards,
Rudi
----- Original Message -----
From: "Niklas Nebel" <[EMAIL PROTECTED]>
To: <dev@api.openoffice.org>
Sent: Wednesday, October 08, 2008 5:27 PM
Subject: Re: [api-dev] NumberFormats with decimals after the comma in
calc-table
On 10/ 8/08 04:52 PM, Rudolf Huber wrote:
first of all I thank you for the prompt response. The ZahlenFormatID is
5107.
No, I mean the format code string that is shown in the Format/Cells
dialog. A key (ID) of 5107 is quite normal.
Niklas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]