- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 253
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-22
|
¦^´_ 1# luke - Sub nn()
- Set fso = CreateObject("Scripting.FileSystemObject")
- fd = ThisWorkbook.Path & "\"
- For Each a In Range("E2:E5")
- fn = fd & a & "\"
- fs = fn & a.Offset(, -2) & "\"
- If fso.FolderExists(fn) = False Then MkDir fn
- If fso.FolderExists(fs) = False Then MkDir fs
- fso.copyfile fd & "P01\" & a.Offset(, -3) & ".csv", fn & a.Offset(, -2) & ".csv", True
- fso.copyfile fd & "P01\" & a.Offset(, -3) & ".cbk", fn & a.Offset(, -2) & ".cbk", True
- Next
- End Su
½Æ»s¥N½X |
|