Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Application.EnableEvents = False
If Selection.Count < 2 Then
If Not Intersect(ActiveCell, Range("A1:A800")) Is Nothing Then
With Target.Font
.Name = "Courier New"
.FontStyle = "Fett"
.Size = 10
.Underline = xlUnderlineStyleNone
.ColorIndex = xlAutomatic
End With
End If
End If
Application.EnableEvents = True
End SubPrivate Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
If Selection.Count < 2 Then
If Not Intersect(Target, Range("B1:B800")) Is Nothing Then
Cells(Target.Row, 3) = Cells(Target.Row, 1) & " " & Cells(Target.Row, Target.Column)
With Cells(Target.Row, 3).Characters(Start:=InStr(1, Cells(Target.Row, 3), " ") + 1, Length:=Len(Cells(Target.Row, 3))).Font
.Name = "Courier New"
.FontStyle = "Fett"
.Size = 10
.Underline = xlUnderlineStyleNone
.ColorIndex = xlAutomatic
End With
End If
End If
Application.EnableEvents = True
End Sub
Fehler im VBA bei LEFT Funktion
user3 17.10.2007 - 112 Hits - 3 Antworten
VBA Programmierung in Excel: Bestimmten Text färben
b0rgi85 05.05.2008 - 47 Hits - 1 Antwort
Wenn-Funktion mit Bezug auf Text in Zelle
PhilMa 24.05.2008 - 22 Hits - 1 Antwort
Excel: Funktion Verweis mit Text statt Zahlen
Berty 11.06.2008 - 46 Hits - 6 Antworten
wenn dann funktion mit vba
jens98 09.09.2008 - 7 Hits - 6 Antworten