検索条件
全3件
(1/1ページ)
Sub MPMS_data()
'
' MPMS_data Macro
' マクロ記録日 : 2010/9/28 ユーザー名 : Hirayama Hirosugu
'
Dim fName As Variant
fName = Application.GetOpenFilename(FileFilter:="datfile,*.dat", Title:="データ選択")
With ActiveSheet.QueryTables.Add(Connection:="TEXT;" & fName, _
Destination:=ActiveCell)
.Name = fName
.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 = 31
.TextFileParseType = xlDelimited
.TextFileTextQualifier = xlTextQualifierDoubleQuote
.TextFileConsecutiveDelimiter = False
.TextFileTabDelimiter = True
.TextFileSemicolonDelimiter = False
.TextFileCommaDelimiter = True
.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)
.TextFileTrailingMinusNumbers = True
.Refresh BackgroundQuery:=False
End With
End Sub




robocopy "C:\Users\Hirayama Hirosugu\Documents\Local-Files" "\\192.168.○.△\share\Members' Files\H2\BackUpFiles" /MIR /LOG:backuplog.txt /TEE /TS /FP /FFTオプションについて