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

¥Îexcel 2007±Hemail

¥Î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

¥»©«³Ì«á¥Ñ Hsieh ©ó 2011-3-17 18:51 ½s¿è

¦^´_ 1# cchaha_captain


    ¦p¦óºÃÃø±Æ¸ÑµLªk«Ø¥ß 'CDO.Message' ¿ù»~°T®§
¥ý¸Õ¸Õ³sµ²ªº¤èªkµù¥UCdosys.dll ¬Ý¬Ý
­YÁÙ¤£¦æ´N¬Ýcrdotlin«e½úªº¤j§@
¨Ï¥ÎCDO±H°e¶l¥ó
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

        ÀR«ä¦Û¦b : §g¤l¦p¤ô¡AÀH¤è´N¶ê¡AµL³B¤£¦Û¦b¡C
ªð¦^¦Cªí ¤W¤@¥DÃD