I make macro record it seems so
Sub Makro1()
'
' Makro1 Makro
'
'
With ActiveSheet.QueryTables.Add(Connection:= _
"TEXT;D:\2019-2020 Mat deneme takip\abc.TXT", Destination:=Range("$A$1"))
.CommandType = 0
.Name = "abc"
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.RefreshStyle = xlInsertDeleteCells
.SavePassword = False
.SaveData = True
.AdjustColumnWidth = True
.RefreshPeriod = 0
.TextFilePromptOnRefresh = False
.TextFilePlatform = 932
.TextFileStartRow = 1
.TextFileParseType = xlFixedWidth
.TextFileTextQualifier = xlTextQualifierDoubleQuote
.TextFileConsecutiveDelimiter = False
.TextFileTabDelimiter = True
.TextFileSemicolonDelimiter = False
.TextFileCommaDelimiter = False
.TextFileSpaceDelimiter = False
.TextFileColumnDataTypes = Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, _
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1)
.TextFileFixedColumnWidths = Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 17, 22, 4, 15, 10, 2, 2, 5, _
3, 12, 10, 2, 3, 2, 3, 7, 4, 3, 2, 7, 13, 21, 7, 5, 11)
.TextFileTrailingMinusNumbers = True
.Refresh BackgroundQuery:=False
End With
End Sub
How can I edit for 300 column.
İt seems very difficult to make for 300 columns.