- ©«¤l
- 561
- ¥DÃD
- 160
- ºëµØ
- 0
- ¿n¤À
- 725
- ÂI¦W
- 0
- §@·~¨t²Î
- WINDOWS
- ³nÅ骩¥»
- xp
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ®ç¶é
- µù¥U®É¶¡
- 2014-9-10
- ³Ì«áµn¿ý
- 2024-8-7
|
[µo°Ý] ¦Û°ÊMAILªþ¥[¹Ï¤ù°ÝÃD´M°Ý
DEAR ALL ¤j¤j
1.¦p¤UVAB ¬°¥i¦Û°ÊMAILªþ¥[ÀÉ®×»PMAIL¤º®e§ì¨úSheet1.Range("A1") Sheet1.Range("A2") Sheet1.Range("A3") ¨q¥X
1.1°ÝÃD½Ð±Ð.¤µ Sheet1.Range("A3") ¤º®e=¤å¦r¼Æ¦r§¡¥i¨q¥X©óMAIL¤§¤º®e¤¤.
¦ý©ñ¸m¹ÏÀÉ´NµLªk¨q¥X©óMAIL¤§¤º®e¤¤
1.1.1½Ð°Ý¦³µL¿ìªk±N«ü©w¦ì¸m¹ÏÀɦ۰ʥN¨ìMAIL¤§¤º®e¤¤
2.·Ð¤£§[½ç±Ð THANKS*10000
Option Explicit
Sub SenddMail()
Dim oltAPP As Outlook.Application
Dim myMail As MailItem
Dim Sender As Long
Set oltAPP = CreateObject("Outlook.Application")
Set myMail = oltAPP.CreateItem(olMailItem)
With myMail
Application.DisplayAlerts = False
.To = "[email protected];[email protected]"
.CC = "[email protected];[email protected]"
.Attachments.Add "C:\Documents and Settings\N000017371\®à±\¥X¶Ô-¿z¿ï«á\¤W¯Z¶W®É©ú²Óªí-²£³]³B-7¥ð1½T»{-¤é´£³øªí-8¤é¿z¿ï«á-2017413.XLS" 'ªþ¥ó(½Ð¦Û¦æ§ó§ï¸ô®|)
.BodyFormat = olFormatPlain
.Body = "" & Sheet1.Range("A1") & "" & Chr(10) & "" & Sheet1.Range("A2") & "" & Chr(10) & "" & Sheet1.Range("A3") & "" '¤º®e
.Subject = "" & Sheet1.Range("A4") & "" '¥D¦®
.Send
End With
oltAPP.Quit
Set oltAPP = Nothing
Set myMail = Nothing
End Sub |
|