Option Explicit
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim strAlt As String, strNeu As String, intI As Integer
strAlt = Target.Value
For intI = 1 To Len(strAlt)
If Asc(Mid(strAlt, intI, 1)) >= 46 And Asc(Mid(strAlt, intI, 1)) <= 57 Then
strNeu = strNeu & Mid(strAlt, intI, 1)
Else
Exit For
End If
Next
Target.Value = Val(strNeu)
End Sub
Excel VBA: Zellinhalt kopieren & in markierte Zellen einfügen
inspiron8100 03.02.2008 - 488 Hits - 3 Antworten
Excel 2000, teilweise wird Zellinhalt nicht angezeigt
RolandH. 09.02.2008 - 37 Hits - 9 Antworten
Excel Zellkommentar in Zellinhalt umwandeln
bloui-light 24.03.2008 - 134 Hits - 1 Antwort
VBA Excel: zellinhalt kopieren und anderswo ablegen
herbybeatle 25.02.2009 - 1948 Hits - 5 Antworten
excel zellinhalt teilen
elchtest 17.03.2009 - 1256 Hits - 1 Antwort