- Katılım
- 5 Eylül 2007
- Mesajlar
- 1,247
- Excel Vers. ve Dili
- ofis 2010
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub AYRISTIR()
For sat = 2 To Cells(Rows.Count, 1).End(3).Row
deg = Replace(Replace(Replace(Cells(sat, 1), "_ok.pdf", ""), "~", "."), "-", "_")
For a = 0 To 3
Cells(sat, a + 2).NumberFormat = "@": Cells(sat, a + 2) = Split(deg, "_")(a)
If a = 3 Then Cells(sat, a + 2) = Split(deg, "_")(a) & "_" & Split(deg, "_")(a + 1)
Next
Next
End Sub
Teşekkür ederim, sorunsuz çalışıyor. iyi çalışmalar.Merhaba.
Rich (BB code):Sub AYRISTIR() For sat = 2 To Cells(Rows.Count, 1).End(3).Row deg = Replace(Replace(Replace(Cells(sat, 1), "_ok.pdf", ""), "~", "."), "-", "_") For a = 0 To 3 Cells(sat, a + 2).NumberFormat = "@": Cells(sat, a + 2) = Split(deg, "_")(a) If a = 3 Then Cells(sat, a + 2) = Split(deg, "_")(a) & "_" & Split(deg, "_")(a + 1) Next Next End Sub