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

¨Ï¥Î¤¤ªºÀɮ׶ǰe¨ìoutlook·s¶l¥óªþ¥ó

¨Ï¥Î¤¤ªºÀɮ׶ǰe¨ìoutlook·s¶l¥óªþ¥ó

½Ð±Ð¦U¦ì¤j¤j¡G
¥H¤Uvba¬O¦Û°Ê¶}±Òoutlook·s¶l¥ó¡A¨Ã¦Û°Ê¶ñ¤J¦¬¥ó¤H¡A¥D¦®¡A¤º¤å¡A¥[¤Wªþ¥óµ¥¡A
¦ý¬Oªþ¥óªºÀɮפ£·|¬O¥¿¦b½s¿è¤¤ªº¸ê®Æ(¦Ó¬O¦sÀɹLªºÀɮפº®e)¡A
AÀɬO¤wÀx¦sªºÀɮסABÀɬO¥Ø«e¥¿¦b¶}±Ò½s¿è¤¤ªºÀɮסA°õ¦æVBA«á¡A±H¥Xªº¶l¥óªþÀɬOAÀÉ¡A½Ð°Ý­n«ç»ò³]©w¤~¯à±NªþÀɧ令BÀÉ©O¡H

Sub sendmail()
    Dim OutApp As Object
    Dim OutMail As Object
    Set OutApp = CreateObject("Outlook.Application")
    Set OutMail = OutApp.CreateItem(0)
    With OutMail
         .To = Sheets("¦Û°Ê±H¶l¥ó").Range("B3")
         .CC = ""
         .Subject = ActiveWorkbook.Name
         .body = "¸Õºâªí¦Û°Ê±H¶l¥ó"
         .Attachments.Add ActiveWorkbook.FullName
         .Send
    End With
End Sub

ÁÂÁÂ~

        ÀR«ä¦Û¦b : ¡i®É¶¡µLªk¾B¾×¡j©È®É¶¡®ø³u¡Aªá¤F³\¦h¤ß¦å¡A·QºÉ¦U¦¡¤èªk­n¾B¾×®É¶¡¡Aµ²ªG¬O¡G®ö¶O¤F§ó¦h®É¶¡¡A¥B¤@µL©Ò¦¨¡I
ªð¦^¦Cªí ¤W¤@¥DÃD