- ©«¤l
- 472
- ¥DÃD
- 5
- ºëµØ
- 0
- ¿n¤À
- 485
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows
- ³nÅ骩¥»
- MS Office
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- »´ä
- µù¥U®É¶¡
- 2010-7-4
- ³Ì«áµn¿ý
- 2014-12-28
|
¦^´_ 1# chiahuo - Sub test()
-
- Dim fileToOpen
- fileToOpen = Application.GetOpenFilename(FileFilter:="Text Files (*.txt),*.txt", Title:="½Ð¿ï¾ÜÀÉ®×")
- If fileToOpen <> False Then
- Workbooks.OpenText Filename:=fileToOpen _
- , Origin:=950, StartRow:=1, DataType:=xlDelimited, TextQualifier:= _
- xlDoubleQuote, ConsecutiveDelimiter:=True, Tab:=True, Semicolon:=False, _
- Comma:=True, Space:=False, Other:=False, FieldInfo:=Array(Array(1, 2), Array(2, 2), Array( _
- 3, 2), Array(4, 2), Array(5, 2), Array(6, 2), Array(7, 2), Array(8, 2), Array(9, 2), Array(10 _
- , 2)), TrailingMinusNumbers:=True
- End If
- Dim wb As Workbook
- Set wb = ActiveWorkbook
- FileFilter = "Excel Files(*.xls),*.xls"
- Do
- fName = Application.GetSaveAsFilename(, FileFilter:=FileFilter)
- Loop Until fName <> False
- wb.SaveAs Filename:=fName, FileFormat:=xlWorkbookNormal
- End Sub
½Æ»s¥N½X |
|