- Katılım
- 31 Ağustos 2010
- Mesajlar
- 387
- Excel Vers. ve Dili
- Excel 2007-2010 Eng
Open Office Trk
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Option Explicit
Sub KELİMELER()
Dim X As Long, Y As Integer, Z As Byte, Satır As Long
Dim Kelime() As String, Sembol() As Variant
Application.ScreenUpdating = False
Range("B:C").Clear
Satır = 2
Range("B1") = "Kelimeler"
Range("C1") = "Bulunduğu Satır No"
Range("B1:C1").Font.Bold = True
Sembol = Array(".", ",", "?", """", "<i>", "</i>")
For X = 1 To Cells(Rows.Count, 1).End(3).Row
If IsError(Cells(X, 1)) = False Then
If Cells(X, 1) <> "" Then
If IsNumeric(Mid(Cells(X, 1), 1, 1)) = False Then
Kelime = Split(Cells(X, 1), " ")
For Y = 0 To UBound(Kelime())
If Kelime(Y) <> "" Then
If Kelime(Y) <> "-" Then
Cells(Satır, 2) = Kelime(Y)
Cells(Satır, 3) = X
For Z = 0 To UBound(Sembol())
Cells(Satır, 2) = Replace(Cells(Satır, 2), Sembol(Z), "")
Next
If Cells(Satır, 2) <> "" Then Satır = Satır + 1
End If
End If
Next
End If
End If
End If
Next
Application.ScreenUpdating = True
MsgBox "İşleminiz tamamlanmıştır.", vbInformation
End Sub
Option Explicit
Sub KELİMELER()
Dim X As Long, Y As Integer, Z As Byte, Satır As Long
Dim Kelime() As String, Sembol() As Variant
Application.ScreenUpdating = False
Range("B:B").Clear
Satır = 2
Range("B1") = "Kelimeler"
Range("B1").Font.Bold = True
Sembol = Array(".", ",", "?", """", "<i>", "</i>")
For X = 1 To Cells(Rows.Count, 1).End(3).Row
If IsError(Cells(X, 1)) = False Then
If Cells(X, 1) <> "" Then
If IsNumeric(Mid(Cells(X, 1), 1, 1)) = False Then
Kelime = Split(Cells(X, 1), " ")
For Y = 0 To UBound(Kelime())
If Kelime(Y) <> "" Then
If Kelime(Y) <> "-" Then
Cells(Satır, 2) = Kelime(Y)
For Z = 0 To UBound(Sembol())
Cells(Satır, 2) = Replace(Cells(Satır, 2), Sembol(Z), "")
Next
If Cells(Satır, 2) <> "" Then Satır = Satır + 1
End If
End If
Next
End If
End If
End If
Next
Application.ScreenUpdating = True
MsgBox "İşleminiz tamamlanmıştır.", vbInformation
End Sub