tahsinanarat
Altın Üye
- Katılım
- 14 Mart 2005
- Mesajlar
- 2,181
- Excel Vers. ve Dili
- Ofis 2019 Türkçe
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
=A1 & B1& C1 Formülünü kulana bilirsinHücre biçemlerini bozmadan A,B,C Sutunlarını D Sutununda birleştirmek mümkünmüdür arkadaşlar.
Sub Birlestir()
Dim i As Long
Dim j As Integer
Application.ScreenUpdating = False
Range("D:D").Clear
For i = 3 To [A65536].End(3).Row
Cells(i, "D") = Cells(i, "A") & " " & _
Cells(i, "B") & " " & _
Cells(i, "C")
j = InStr(1, Cells(i, "D"), Cells(i, "A"), vbTextCompare)
With Range("D" & i).Characters(j, Len(Cells(i, "A")))
.Font.Color = Cells(i, "A").Font.Color
.Font.Bold = Cells(i, "A").Font.Bold
.Font.Italic = Cells(i, "A").Font.Italic
.Font.Underline = Cells(i, "A").Font.Underline
.Font.Size = Cells(i, "A").Font.Size
.Font.Name = Cells(i, "A").Font.Name
End With
j = InStr(1, Cells(i, "D"), Cells(i, "B"), vbTextCompare)
With Range("D" & i).Characters(j, Len(Cells(i, "B")))
.Font.Color = Cells(i, "B").Font.Color
.Font.Bold = Cells(i, "B").Font.Bold
.Font.Italic = Cells(i, "B").Font.Italic
.Font.Underline = Cells(i, "B").Font.Underline
.Font.Size = Cells(i, "B").Font.Size
.Font.Name = Cells(i, "B").Font.Name
End With
j = InStr(1, Cells(i, "D"), Cells(i, "C"), vbTextCompare)
With Range("D" & i).Characters(j, Len(Cells(i, "C")))
.Font.Color = Cells(i, "C").Font.Color
.Font.Bold = Cells(i, "C").Font.Bold
.Font.Italic = Cells(i, "C").Font.Italic
.Font.Underline = Cells(i, "C").Font.Underline
.Font.Size = Cells(i, "C").Font.Size
.Font.Name = Cells(i, "C").Font.Name
End With
Next i
End Sub