string in long umwandeln Philipp Hallo Ich möchte einen String AUsdruck in eine Zahl (Long) umwandeln. Der Inhalt der Zelle sieht so aus Zelle1: z.B 1,2 (Gleitkommazahl) Jetzt möchte ich das mein Programm das auch als 1,2 erkennt. Über Hilfe wáre ich dankbar. Philipp
AW: string in long umwandeln 10.12.2009 16:26:09 selli hallo philip, versuche mal die multiplikation des strings mit 1. gruß selli
AW: string in long umwandeln 10.12.2009 16:26:13 Rudi Hallo, ein Long ist eine Ganzzahl! Variable=Zelle*1 Gruß Rudi Bei VBA gut sollte man das wissen.
AW: string in long umwandeln 10.12.2009 16:26:28 Hajo_Zi Halo Philipp, Long ist eine Ganzzahl. Ich häte Double benutzt Option Explicit Sub Philipp() Dim StWert As String Dim Lowert As Long StWert = "1,2" Lowert = StWert MsgBox TypeName(Lowert) End Sub Anzeige