DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Arkadaşlar selam.
D sütununa veri girip enter tuşuna basınca girdiğimiz verilerin hepsinin BÜYÜK HARF olmasını nasıl sağlayabilirim?
Şimdiden teşekkürler
Arkadaşlar selam.
D sütununa veri girip enter tuşuna basınca girdiğimiz verilerin hepsinin BÜYÜK HARF olmasını nasıl sağlayabilirim?
Şimdiden teşekkürler
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column <> 4 Then Exit Sub
Dim s As String
Application.EnableEvents = False
On Error Resume Next
s = Evaluate("=büyükharf(""" & Target.Value & """)")
s = Evaluate("=upper(""" & Target.Value & """)")
Target.Replace Target.Value, s
Application.EnableEvents = True
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Range("D:D")) Is Nothing Then Exit Sub
Application.EnableEvents = False
Target.Value = Evaluate("=UPPER(""" & Target.Value & """)")
Application.EnableEvents = True
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
Select Case Target.Column
Case Is = 1: Target.Offset(, 1).Select
Case Is = 2: Target.Offset(, 1).Select
Case Is = 3: Target.Offset(, 1).Select
Case Is = 4: Target.Offset(, 1).Select
Case Is = 5: Target.Offset(1, -4).Select
Case Else
End Select
On Error GoTo son
If Intersect(Target, Range("A2:A5000")) Is Nothing Then Exit Sub
If Target = "" Then Exit Sub
Application.EnableEvents = False
If Len(Target) = 7 Then
Target = Format(Target, "##"" ""##"" ""###")
ElseIf Len(Target) = 8 Then
Target = Format(Target, "###"" ""##"" ""###")
ElseIf Len(Target) = 9 Then
Target = Format(Target, "###"" ""###"" ""###")
ElseIf Len(Target) = 10 Then
Target = Format(Target, "###"" ""##"" ""##"" ""###")
ElseIf Len(Target) = 11 Then
Target = Format(Target, "###"" ""###"" ""##"" ""###")
ElseIf Len(Target) = 12 Then
Target = Format(Target, "###"" ""###"" ""###"" ""###")
End If
Columns(Target.Column).EntireColumn.AutoFit
Application.EnableEvents = True
son:
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
Select Case Target.Column
Case Is = 1: Target.Offset(, 1).Select
Case Is = 2: Target.Offset(, 1).Select
Case Is = 3: Target.Offset(, 1).Select
Case Is = 4: Target.Offset(, 1).Select
Application.EnableEvents = False
Target.Value = Evaluate("=UPPER(""" & Target.Value & """)")
Application.EnableEvents = True
Case Is = 5: Target.Offset(1, -4).Select
Case Else
End Select
On Error GoTo Son
If Intersect(Target, Range("A2:A5000")) Is Nothing Then Exit Sub
If Target = "" Then Exit Sub
Application.EnableEvents = False
If Len(Target) = 7 Then
Target = Format(Target, "##"" ""##"" ""###")
ElseIf Len(Target) = 8 Then
Target = Format(Target, "###"" ""##"" ""###")
ElseIf Len(Target) = 9 Then
Target = Format(Target, "###"" ""###"" ""###")
ElseIf Len(Target) = 10 Then
Target = Format(Target, "###"" ""##"" ""##"" ""###")
ElseIf Len(Target) = 11 Then
Target = Format(Target, "###"" ""###"" ""##"" ""###")
ElseIf Len(Target) = 12 Then
Target = Format(Target, "###"" ""###"" ""###"" ""###")
End If
Columns(Target.Column).EntireColumn.AutoFit
Son:
Application.EnableEvents = True
End Sub