- ©«¤l
- 3
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 5
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- 2007
- ¾\ŪÅv
- 10
- µù¥U®É¶¡
- 2012-7-13
- ³Ì«áµn¿ý
- 2012-7-16
|
¦hÓ¤£¦PÀɦWªºÀÉ®×°õ¦æ
§Ú¤S¦³·sªº°ÝÃD
¦pªG§Ú¸ê®Æ§¨¤¤¦³.000¡B.001¡B.002...~.027
¨CÓÀÉ®×ÀɦW³£¤@¼Ë
¤£¹L§Ú·Qn¼g¦nªº»yªk¤§«á¤£ºÞ©ñ¤°»òÀɦW¶i¥h³£¥i¥H°õ¦æ
¬O¤£¬O¥i¥H¥Î*¥NªíÀɦW¾ãÓ¦r¦ê
If i < 10 Then
For i = 0 To 9
If i > 2 Then Sheets.Add After:=Sheets(Sheets.Count)
Sheets("Sheet" & i + 1 & "").Select
With ActiveSheet.QueryTables.Add(Connection:= _
"TEXT;D:\0607-H7P-N\¤º¤Æ¼Æ¾Ú.00" & i & "", Destination:=Range("$A$1"))
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.RefreshStyle = xlInsertDeleteCells
.SavePassword = False
.SaveData = True
.AdjustColumnWidth = True
.RefreshPeriod = 0
.TextFilePromptOnRefresh = False
.TextFilePlatform = 1252
.TextFileStartRow = 1
.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)
.TextFileTrailingMinusNumbers = True
.Refresh BackgroundQuery:=False
End With
Next
End If |
|