¥Îvba µoyahoo GMAIL ªº¹q¤l¶l¥ó¤£¥Î³z¹Loutlook
| ©«¤l10 ¥DÃD4 ºëµØ0 ¿n¤À50 ÂI¦W0  §@·~¨t²ÎXP ³nÅ骩¥»SP3 ¾\ŪÅv20 ©Ê§O¨k µù¥U®É¶¡2012-5-22 ³Ì«áµn¿ý2024-10-19 
 | 
 ¥Îvba µoyahoo GMAIL ªº¹q¤l¶l¥ó¤£¥Î³z¹Loutlook
| ¥Îvba µoyahoo GMAIL ªº¹q¤l¶l¥ó¤£¥Î³z¹Loutlook 
 Sub outfile()
 Set myOL = CreateObject("outlook.application")
 Set myMail = myOL.createItem(0)
 myMail.to = "[email protected]"
 myMail.Subject = "see you sooon"
 myMail.body = "execl send to Mail...."
 myMail.Display
 myMail.send
 End Sub
 ¦³Ãþ¦ü¥H¤Wªº®æ¦¡  ³Ì¯à§¨±aªþ¥ó
 ¯à¦Û°Ê¤Æµoemail
 | 
 | 
| yes show me money | 
|  |  | 
|  |  | 
| ©«¤l67 ¥DÃD8 ºëµØ0 ¿n¤À78 ÂI¦W0  §@·~¨t²ÎWindows XP ³nÅ骩¥»Excel 2010 ¾\ŪÅv20 ©Ê§O¨k µù¥U®É¶¡2012-5-15 ³Ì«áµn¿ý2021-9-14 
 | 
                
| 
 ½Æ»s¥N½XOption Explicit
Sub SendAsPDF()
'   Uses early binding
'   Requires a reference to the Outlook Object Library
    Dim OutlookApp As Outlook.Application
    Dim MItem As Object
    Dim Recipient As String, Subj As String
    Dim Msg As String, Fname As String
            
'   Message details
    Recipient = "[email protected]"
    Subj = "Sales figures"
    Msg = "Hey boss, here's the PDF file you wanted."
    Msg = Msg & vbNewLine & vbNewLine & "-Frank"
    Fname = Application.DefaultFilePath & "\" & _
      ActiveWorkbook.Name & ".pdf"
   
'   Create the attachment
    ActiveSheet.ExportAsFixedFormat _
        Type:=xlTypePDF, _
        Filename:=Fname
    
'   Create Outlook object
    Set OutlookApp = New Outlook.Application
    
'   Create Mail Item and send it
    Set MItem = OutlookApp.CreateItem(olMailItem)
    With MItem
      .To = Recipient
      .Subject = Subj
      .Body = Msg
      .Attachments.Add Fname
      .Save 'to Drafts folder
      '.Send
    End With
    Set OutlookApp = Nothing
'   Delete the file
    Kill Fname
End Sub
 | 
 | 
|  | 
|  |  | 
|  |  | 
| ©«¤l67 ¥DÃD8 ºëµØ0 ¿n¤À78 ÂI¦W0  §@·~¨t²ÎWindows XP ³nÅ骩¥»Excel 2010 ¾\ŪÅv20 ©Ê§O¨k µù¥U®É¶¡2012-5-15 ³Ì«áµn¿ý2021-9-14 
 | 
                
| µù¡G¤Wzµ{¦¡½X¡A»Ýn¤Þ¥Î¡¨Microsoft Outlook 12.0 Object Library"
 
 
 | 
 | 
|  | 
|  |  | 
|  |  | 
| ©«¤l10 ¥DÃD4 ºëµØ0 ¿n¤À50 ÂI¦W0  §@·~¨t²ÎXP ³nÅ骩¥»SP3 ¾\ŪÅv20 ©Ê§O¨k µù¥U®É¶¡2012-5-22 ³Ì«áµn¿ý2024-10-19 
 |  | 
| yes show me money | 
|  |  | 
|  |  |