this workbook¤º¦³¦h±i¤u§@ªí, ·Q¨úattendance report (**·Q¥u¦sÈ»P¼Æ¦r®æ¦¡, ¤£¥]¬Aµ{¦¡**)¤Îee data ¥t¦s¤@Ó·sWORKBOOK ¦W¬°leave reocord
¤U¦C¥X²{¥¼¯àª¾¹DCOPYÄݩʪº¿ù»~, ¨D±Ð?- Sub saveanother_leave()
- Dim xPath As String
- Dim Arr As Variant
- xPath = Application.ActiveWorkbook.Path
- Arr = Array("attendance report", "ee data")
- Sheets(Arr).Copy = Application.NewWorkbook
- ActiveWorkbook.SaveAs xPath & "Leave Record" & ".xls"
- ActiveWorkbook.Close
-
- End Sub
½Æ»s¥N½X |