DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub TxtYAP()
Dim myFile As String
Dim rng As Range
Dim cellValue As String
Dim i As Integer, j As Integer
myFile = Application.GetSaveAsFilename(FileFilter:="Metin Dosyası (*.txt), *.txt")
If myFile = "False" Then Exit Sub
Open myFile For Output As #1
Set rng = ActiveSheet.UsedRange
For i = 1 To rng.Rows.Count
For j = 1 To rng.Columns.Count
cellValue = rng.Cells(i, j).Value
If cellValue = "" Then
cellValue = " "
End If
Print #1, cellValue;
If j <> rng.Columns.Count Then
Print #1, vbTab;
End If
Next j
Print #1,
Next i
Close #1
MsgBox "SAYFANIZ METİN DOSYASI ( TXT ) OLARAK KAYDEDİLDİ, KOLAY GELSİN.", vbInformation
End Sub
Sub TxtYAP()
Dim myFile As String
Dim rng As Range
Dim cellValue As String
Dim i As Integer, j As Integer
Dim desktopPath As String
desktopPath = CreateObject("WScript.Shell").SpecialFolders("Desktop")
myFile = desktopPath & "\" & Application.InputBox("Dosya adını girin:", "Dosya Adı", "Kurumlar") & ".txt"
If myFile = "False" Then Exit Sub
Open myFile For Output As #1
Set rng = ActiveSheet.UsedRange
For i = 1 To rng.Rows.Count
For j = 1 To rng.Columns.Count
cellValue = rng.Cells(i, j).Value
If cellValue = "" Then
cellValue = " "
End If
Print #1, cellValue;
If j <> rng.Columns.Count Then
Print #1, vbTab;
End If
Next j
Print #1,
Next i
Close #1
MsgBox "SAYFANIZ KURUMLAR OLARAK MASAÜSTÜNE KAYDEDİLDİ, KOLAY GELSİN.", vbInformation
End Sub
Sub TxtYAP()
Dim myFile As String
Dim rng As Range
Dim cellValue As String
Dim i As Integer, j As Integer
Dim desktopPath As String
desktopPath = CreateObject("WScript.Shell").SpecialFolders("Desktop")
myFile = desktopPath & "\Kurumlar.txt"
Open myFile For Output As #1
Set rng = ActiveSheet.UsedRange
For i = 1 To rng.Rows.Count
For j = 1 To rng.Columns.Count
cellValue = rng.Cells(i, j).Value
If cellValue = "" Then
cellValue = " "
End If
Print #1, cellValue;
If j <> rng.Columns.Count Then
Print #1, vbTab;
End If
Next j
Print #1,
Next i
Close #1
MsgBox "SAYFANIZ KURUMLAR OLARAK MASAÜSTÜNE KAYDEDİLDİ, KOLAY GELSİN.", vbInformation
End Sub