- ©«¤l
- 72
- ¥DÃD
- 13
- ºëµØ
- 0
- ¿n¤À
- 90
- ÂI¦W
- 0
- §@·~¨t²Î
- windows xp
- ³nÅ骩¥»
- office 2000
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2011-2-14
- ³Ì«áµn¿ý
- 2024-10-13
|
¦^´_ 13# c_c_lai
§Ú¦b·Qfs±o¨ì·sÀɮצWºÙ©M¸ô®| , ±N¦¹°T®§µ¹ Sub sendmail()°Æµ{¦¡, Sub sendmail()°Æµ{¦¡´N¥i¥Hªþ¥[Àɮפ覡,mail¥X¥h¤F....
Sub main()
fs = ThisWorkbook.Path & "\" & Format(Now, "yyyy_mm_dd hhmm") & ".xls" '¦sÀÉÀɦW
End Sub
Sub sendmail()°Æµ{¦¡,³o¸Ì¤@ª½¬O¤£¥X¨Ó,n¦p¦óªþ¥[·s«Ø¥ßªºÀÉ®×(ÀɦW¬°yyyy_mm_dd hhmm.xls)
CDO_Mail_Object.AddAttachment "D:\TEMP\test.xls" ³o¬O§Ú¤§«e«ü©w¦P¤@ÓÀɮתº¤è¦¡,¤£ª¾¹Dn«ç»ò§ï
End Sub
¥H¤W, ½ÐªO¤j¨ó§U ! |
|