Created
December 14, 2016 08:15
-
-
Save akiya64/02309ffaad3201ec53b4078c7ca59dc4 to your computer and use it in GitHub Desktop.
Import Excel 132Column CSV
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| With ActiveSheet.QueryTables.Add(Connection:= _ | |
| "TEXT;YAMATO_SYS_DUMP.csv", Destination:=Range("$A$2")) | |
| .Name = "CSV読込" | |
| .FieldNames = False | |
| .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 = xlDelimited | |
| .TextFileTextQualifier = xlTextQualifierDoubleQuote | |
| .TextFileConsecutiveDelimiter = False | |
| .TextFileTabDelimiter = False | |
| .TextFileSemicolonDelimiter = False | |
| .TextFileCommaDelimiter = True | |
| .TextFileSpaceDelimiter = False | |
| .TextFileColumnDataTypes = Array(2, 2, 2, 1, 9, 9, 9, 2, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, _ | |
| 9, 9, 9, 9, 5, 5, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 2, 1, 2, 9, 9, 9, 9 _ | |
| , 9, 9, 9, 2, 9, 9, 9, 2, 2, 2, 2, 2, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, _ | |
| 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 5, 9, 9, 9, 9, 9, 9, 9) | |
| .TextFileTrailingMinusNumbers = True | |
| .Refresh BackgroundQuery:=False | |
| End With |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment