DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
m_to = adr 'gönderilecek adres
m_cc1 = "xxx@xxx.com" 'gönderilecek cc1
m_cc2 = "xxx@xxx.com" 'gönderilecek cc2
m_bcc = "xxx@xxx.com" 'gönderilecek bcc
.Body = ad_soyad
burada örneğin j1:n6 aralığını eklemek isiyorum ola bilirmi
Merhaba,
dosyanızı eklerseniz ve ne yapmak istediğinizi üzerinde belirtirseniz, yardımcı olabilirim.
gökhanbek in anladığım kadarıyla istediği
not Kısmının body de gözükmesi
gökhanbek bende sitede bulduğum bir dosyayı gönderiyorum.
tek sorunu en son satırı outlook un takvim bölgesine atıyor tüm satırları değil
buda outllok takvime nolar almada epey kolaylık sağlar
Sub OutLook_Takvime_Olay_Ata()
Dim sh As Worksheet
Dim oOutLook As Object
Dim oRandevu As Object
Set sh = Sheets("Sayfa1")
On Error Resume Next
Set oOutLook = GetObject(, "Outlook.Application")
If Err.Number = 429 Then
Set oOutLook = CreateObject("Outlook.application")
End If
On Error GoTo 0
Set oRandevu = oOutLook.CreateItem(olAppointmentItem)
On Error Resume Next
For i = 6 To sh.[c65536].End(3).Row
With oRandevu
.Start = Cells(i, 3) + Cells(i, 4)
.End = Cells(i, 5) + Cells(i, 6)
.Subject = Cells(i, 7)
.Location = Cells(i, 8)
.Body = Cells(i, 9)
If Len(Cells(i, 10)) > 0 Then
If IsNumeric(Cells(i, 10)) Then
.ReminderMinutesBeforeStart = Cells(i, 10)
.ReminderSet = True
End If
End If
If Err <> 0 Then
Cells(i, 2) = "HATA"
Else
.Save
Cells(i, 2) = "OK"
Err = 0
End If
End With
Next i
' oRandevu.Display
Set oOutLook = Nothing
Set oRandevu = Nothing
Set sh = Nothing
End Sub