DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
Dim S1 As Worksheet, GENİŞLİK As Integer, YÜKSEKLİK As Integer
Dim VERİ As Variant, Satır As Integer, X As Integer
If Intersect(Target, Range("C:H")) Is Nothing Then Exit Sub
Application.ScreenUpdating = False
GENİŞLİK = Range("C1:H1").Columns.Width
Set S1 = Sheets("Sayfa2")
Satır = 2
Application.DisplayAlerts = False
With S1
.Cells.Delete
.Cells.Font.Size = Target.Font.Size
.Range("A1") = Target.Text
.Range("A:A").WrapText = True
.Range("A1").VerticalAlignment = xlJustify
.Range("A1").ColumnWidth = GENİŞLİK / 5.3
.Range("A1").EntireRow.AutoFit
VERİ = Split(.Range("A1"), Chr(10))
For X = 0 To UBound(VERİ)
.Cells(Satır, 1) = VERİ(X)
YÜKSEKLİK = YÜKSEKLİK + .Cells(Satır, 1).RowHeight
Satır = Satır + 1
Next
.Cells.Delete
End With
Target.RowHeight = YÜKSEKLİK
Set S1 = Nothing
Application.DisplayAlerts = True
Application.ScreenUpdating = True
End Sub