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

[µo°Ý] ¥u¿ï¨â­Ó¤u§@ªíªº­È»P®æ¦¡¥t¦s·sÀÉ

[µo°Ý] ¥u¿ï¨â­Ó¤u§@ªíªº­È»P®æ¦¡¥t¦s·sÀÉ

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±Ð?
  1. Sub saveanother_leave()


  2. Dim xPath As String
  3. Dim Arr As Variant

  4. xPath = Application.ActiveWorkbook.Path
  5. Arr = Array("attendance report", "ee data")

  6. Sheets(Arr).Copy = Application.NewWorkbook
  7. ActiveWorkbook.SaveAs xPath & "Leave Record" & ".xls"
  8. ActiveWorkbook.Close

  9. End Sub
½Æ»s¥N½X

¦^´_ 1# missbb
  1. Sub saveanother_leave()
  2. Dim xPath As String
  3. Dim Arr As Variant
  4. xPath = ThisWorkbook.Path & "\"
  5. Arr = Array("attendance report", "ee data")
  6. Sheets(Arr).Copy
  7. ActiveWorkbook.SaveAs xPath & "Leave Record" & ".xls"
  8. ActiveWorkbook.Close
  9. End Sub
½Æ»s¥N½X

TOP

¦^´_ 2# lpk187

¦]ATTENDANCE DATA¬O¦³«Ü¦hFORMULA, ·Q¦P®É¥uCOPY ­È»P¼Æ¦r®æ¦¡, ¬O­nSAVE ·sÀɤ§«á°µ, ÁÙ¬O¥i¥H¦P®É°µ ?

TOP

        ÀR«ä¦Û¦b : ·O´d¨S¦³¼Ä¤H¡A´¼¼z¤£°_·Ð´o¡C
ªð¦^¦Cªí ¤W¤@¥DÃD