ªð¦^¦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 : ¯¸¦b¥b¸ô¡A¤ñ¨«¨ì¥Ø¼Ð§ó¨¯­W¡C
ªð¦^¦Cªí ¤W¤@¥DÃD