ahmed_ummu
Altın Üye
- Katılım
- 28 Mart 2011
- Mesajlar
- 777
- Excel Vers. ve Dili
- Excel 2010 Professional Plus 64 Bit
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Şu şekilde deneyip sonucu paylaşabilir misiniz;
Kod:Dim OutlookApp As Object Dim MailItem As Object On Error Resume Next Set OutlookApp = GetObject(, "Outlook.Application") If OutlookApp Is Nothing Then Set OutlookApp = CreateObject("Outlook.Application") On Error GoTo 0 If Not OutlookApp Is Nothing Then Set MailItem = OutlookApp.CreateItem(0) With MailItem .To = "geçerliemail@example.com" .Subject = "Test E-postası" .Body = "Bu bir test e-postasıdır." .Display ' E-postayı görüntüler, manuel olarak gönderebilirsiniz End With MsgBox "E-posta oluşturuldu ve görüntülendi.", vbInformation Else MsgBox "Outlook uygulaması açılamadı. Lütfen Outlook'un yüklü ve doğru şekilde çalıştığından emin olun.", vbExclamation End If