Pdf olarak kaydettiğinizi varsayarsam sadece;
.HTMLBody = RangetoHTML(rng)
satırını kaldırın
.Attachments.Add "C:\......"
Kodlarını ekleyin.
"C:\......" pdf dosyasının bulunduğu dizin...
...HK."
.Display
'Maili otomatik göndermek için .send deki tırnak işaretini kaldırın.
'.send
.HTMLBody = RangetoHTML(alan) & .HTMLBody
End With
Set wrdEdit = Nothing
Set OutMail = Nothing
Set OutApp = Nothing
End Sub
Function...
...Sonuçtan memnun kalmazsanız, UTF-8 yerine Windows-1254 deneyin. O da kodun içinde pasifleştirilmiş olarak var.
Sub Test()
Call RangeToHtml(Range("A1:B10"), "C:\TestFolder\Test.html")
End Sub
'
Sub RangeToHtml(rng As Range, fileName As String)
Dim resBeg As String
'resBeg =...
...bir çözüm kod var mı ? Office 365 proplus Türkçe kullanıyorum
Konu hakkında yardımlarını bekliyorum.
Tşk.ler
Sub Test()
RangeToHtml Range("A1:C3"), "test.html"
End Sub
Sub RangeToHtml(rng As Range, fileName As String)
Dim resBeg As String
resBeg =...
...Resume Next
With OutMail
.To = ""
.CC = ""
.BCC = ""
.Subject = "Banka Durumu"
.HTMLBody = RangetoHTML(rng)
.Display 'göndermek için .Send
End With
On Error GoTo 0
With Application
.EnableEvents = True...
...'For Tips see: http://www.rondebruin.nl/win/winmail/Outlook/tips.htm
'Don't forget to copy the function RangetoHTML in the module.
'Working in Excel 2000-2013
Dim rng As Range
Dim OutApp As Object
Dim OutMail As Object
Set rng = Nothing
On Error Resume Next
'Only the...
...With OutMail
.Display
.To = ""
.CC = ""
.BCC = ""
.Subject = "İFL HK."
.HTMLBody = RangetoHTML(rng) & .HTMLBody
.Send
End With
Set OutMail = Nothing
Set OutApp = Nothing
End Sub
Function RangetoHTML(rng As Range)...
Sizlere daha iyi bir deneyim sunabilmek icin sitemizde çerez konumlandırmaktayız, web sitemizi kullanmaya devam ettiğinizde çerezler ile toplanan kişisel verileriniz Veri Politikamız / Bilgilendirmelerimizde belirtilen amaçlar ve yöntemlerle mevzuatına uygun olarak kullanılacaktır.