import os import os.path import shutil def listDir(dirTemp): if None == dirTemp: return global nameList if not os.path.exists(dirTemp): print "file or directory isn't exist" return if os.path.isfile(dirTemp): if dirTemp.find('.wmv') > 0: name…
我建的宏: Sub 合并文件的VBA() Dim MyPath, MyName, AWbName Dim Wb As Workbook, WbN As String Dim G As Long Dim Num As Long Dim BOX As String Application.ScreenUpdating = False MyPath = ActiveWorkbook.Path MyName = Dir(MyPath & "\" & "*.csv&qu…