¦U¦ì¤j¤j, §Ú¦³¤U¦C±N¤u§@³¡¤ºªº¤u§@ªí¥t¦s¿W¥ßWORKBOOK, ¦ý·Q¥t¦s«áªº¤u§@ªí¬O¤w¨ü«OÅ@ªº¤u§@ªí, ¸Ñ°£PASSWORD¬O1, ½Ð½ç±Ð?- Sub Splitbook()
- 'Updateby20140612
- Dim xPath As String
- xPath = Application.ActiveWorkbook.Path
- Application.ScreenUpdating = False
- Application.DisplayAlerts = False
- For Each xWs In ThisWorkbook.Sheets
- xWs.Copy
- Application.ActiveWorkbook.SaveAs Filename:=xPath & "\" & xWs.Name & ".xls" [color=Red](°ÝÃD, ¦p¦ó¥t¦s·sÀÉ«á, ¨CÓÀɮ׳£¤w«OÅ@¤F¤u§@ªí, PASSWORD ¬O"1")[/color]
- Application.ActiveWorkbook.Close False
- Next
- Application.DisplayAlerts = True
- Application.ScreenUpdating = True
- End Sub
½Æ»s¥N½X |