ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ¶}±Ò¤¤ªº¤u§@ï¦X¨Ö¦Ü¥t¤@¤u§@襤

¦^´_ 1# hsiaohsien
  1. Sub Ex()
  2.     Dim Wb As Workbook
  3.     For Each Wb In Workbooks
  4.         If Wb.Name <> "¦X¨Ö.xls" Then   '±Æ°£ "¦X¨Ö.xls"
  5.             Wb.Sheets("²Î­p").Copy After:=Workbooks("¦X¨Ö.xls").Sheets(2)
  6.             ActiveSheet.Name = Replace(Wb.Name, ".xls", "")
  7.         End If
  8.     Next
  9.     Workbooks("¦X¨Ö.xls").Activate
  10. End Sub
½Æ»s¥N½X

TOP

        ÀR«ä¦Û¦b : ¬°¦Û¤v§äÂǤfªº¤H¥Ã»·¤£·|¶i¨B¡C
ªð¦^¦Cªí ¤W¤@¥DÃD