- ©«¤l
- 8
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 55
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- OFFICE 2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-2-21
- ³Ì«áµn¿ý
- 2012-8-13
|
¥Îexcel 2007±Hemail
¦U¦ì¦n¡A§Úªºexcel¸ê®Æ¤¤¦³¤@ÓÄæ¦ì¬OÀx¦s¼t°Óªºemail¡A§Ú§Æ±æ¯à¼g¤@Óvbaµ{¦¡½X¡A¯à°÷ª½±µ±qexcel¤¤µo°e¥X©Ò¦³ªºemail¡A¥H«e§Ú´¿¸g¨Ï¥Îoutlook object¨Ó±H°e¡A¦ý¬O¨C±H¤@«Ê¡Aexcel´Nĵ§i§Ú¡G"¦³µ{¦¡¦b±H°eemail"¡A³o¼Ë§Ú®Ú¥»¤£¥i¯à§â±H°eemailªº°Ê§@¦Û°Ê¤Æ¡A«á¨Ó§Ú¤S§ä¨ì¤@Ó¤èªk¡G
Set CDOMail = CreateObject("CDO.Message")
With CDOMail
.From = """µo«H¤H""<[email protected]>"
.To = """¦¬«H¤H""<[email protected]>"
.Subject = "«H¥ó´ú¸Õ"
.TextBody = "«H¥óABCDEFG"
.Send
End With
Set CDOMail = Nothing
µ¥§Ú°õ¦æ¨ì.send®É¡A´Nª½±µµo¥Íautomation error¡A½Ð°Ý¦U¦ì¤j¤j¡A¨ì©³§ï«ç»ò°µ¡H¤~¯à¦Û°Ê±H°eemail©O¡H
ÁÂÁ¦U¦ì¡I |
|