- Katılım
- 6 Ağustos 2005
- Mesajlar
- 75
- Excel Vers. ve Dili
- 2007 ENG
- Altın Üyelik Bitiş Tarihi
- 25.01.2019
Aşağıdaki kod blogu ile excel dosyasındaki verileri e posta olarak gönderebiliyordum. Office sürümü ve windows sürümleri değişti 2010 oldu ve New Outlook.Application hatası veriyor.
Bu problemi nasıl çözebilirim?
Private Sub cmdsend_Click()
Set OutApp = New Outlook.Application
a = txttuzdtn.Text
b = txttuzbtn.Text
c = txtamonyak.Text
d = txtnitrik.Text
Set NewMail = CreateItem(olMailItem)
With NewMail
.To = "tg@oz.com.tr;buo@oz.com"
.CC =
.Subject = "Stoklar"
.Body = "Tank doluluk:
.display '.Send '.diplay
End With
Set NewMail = Nothing
Set OutApp = Nothing
End Sub
Bu problemi nasıl çözebilirim?
Private Sub cmdsend_Click()
Set OutApp = New Outlook.Application
a = txttuzdtn.Text
b = txttuzbtn.Text
c = txtamonyak.Text
d = txtnitrik.Text
Set NewMail = CreateItem(olMailItem)
With NewMail
.To = "tg@oz.com.tr;buo@oz.com"
.CC =
.Subject = "Stoklar"
.Body = "Tank doluluk:
.display '.Send '.diplay
End With
Set NewMail = Nothing
Set OutApp = Nothing
End Sub