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

[µo°Ý] mailenvelope±H邮¥ó

[µo°Ý] mailenvelope±H邮¥ó

请问ª¾¤£ª¾¹Dmailenvelope±H邮¥ó¥i¤£¥i¥H¥[ªþ¥ó?
lmh

¨S¿ìªk, outlook ´N¥i¥H

TOP

¦^´_ 2# jackyq
¥H¤Ucode¥i¥H¥[ªþ¥ó,¦Ó¥B¯à¶¶§Q±H¥X:
Sub test5()
    Application.DisplayAlerts = False
    [a2:d5].Select
    ActiveWorkbook.EnvelopeVisible = True
    With ActiveSheet.MailEnvelope
        .Introduction = "abcd"
        .Item.To = "[email protected]"
        .Item.Subject = "efgh"
        .Item.Attachments.Add ThisWorkbook.Path & "/abc.xls"
'        .Item.display
        .Item.Send
    End With
    'begin closing the allocation file and save it
    ' Windows(Allocfile).Activate
    Application.DisplayAlerts = True
End Sub
¦ý°ÝÃD¬O,¨C±H¤@¦¸,ªþ¥óabc.xls·|²Ö¥[,±H²Ä¤­¦¸,abc.xls´N¦³5­Ó.§Ú·Q¤@©w¦³¿ìªk²M°£­ì¨Óªºªþ¥ó.¦ý¤£ª¾¹D¦p¦ó°µ.
¬°¤°»ò¥Îmailenvilope,¦]¬°¥¦§Ö,±H40«Ê4¬í!(¤£±aªþ¥óªº)
lmh

TOP

¦^´_ 3# mhl9mhl9


§A³o­Ó code §Ú¤§«e¦³¸Õ¹L¤F
§Úªº¤£¦æ
§Ú­è¥k¥h¸Õ¤@¦¸
µo²{¤§©Ò¥H¤£¦æ¬O¦]¬°
¥¿¦b°õ¦æ¤¤³~§Ú«ö¤F Esc Áä
¦Ó¥B¤@¥¹«ö¤F  Esc Á䤤³~°±¤î«á

³o­Ó code ¦A¦¸­«·s°õ¦æ¦A¤]¤£·|¦¨¥\
vba ¤@ª½»¡ error  error ªº

TOP

        ÀR«ä¦Û¦b : ·R¤£¬O­n¨D¹ï¤è¡A¦Ó¬O­n¥Ñ¦Û¨­ªº¥I¥X¡C
ªð¦^¦Cªí ¤W¤@¥DÃD