- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¥»©«³Ì«á¥Ñ GBKEE ©ó 2012-1-17 20:37 ½s¿è
¦^´_ 9# fusayloveme
¸Õ¸Õ¬Ý- Option Explicit
- Private Sub Workbook_BeforeClose(Cancel As Boolean)
- Dim E As Workbook, xPath As String
- xPath = "C:\Users\hyc\Desktop\"
- For Each E In Workbooks 'Workbooks: ª«¥ó¶°¦X(¬¡¶Ã¯) ¤¤¨Ì§Ç³B¸Ì E (¬¡¶Ã¯)
- If E.Name <> ThisWorkbook.Name Then 'µ{¦¡©Ò¦bªº¬¡¶Ã¯¦WºÙ<>³B¸Ì E (¬¡¶Ã¯)ªº¦WºÙ
- '¤£¬Oµ{¦¡½X©Ò¦bªº¬¡¶Ã¯
- With E.Sheets(1) '¬¡¶Ã¯ªº²Ä1Ó¤u§@ªí
- E.SaveAs xPath & .[a1] & Format(Date, "emmdd")
- E.Close '¬¡¶Ã¯ Ãö³¬ÀÉ®×
- End With
- End If
- Next
- End Sub
½Æ»s¥N½X |
|