Thema Datum  Von Nutzer Rating
Antwort
29.10.2020 07:51:49 ch79
NotSolved
29.10.2020 08:30:35 TestGast
NotSolved
29.10.2020 12:22:48 volti
NotSolved
29.10.2020 12:32:44 volti
NotSolved
Rot Body Format
30.10.2020 14:08:05 Gast83026
NotSolved
30.10.2020 17:46:32 volti
NotSolved
30.10.2020 17:48:41 volti
NotSolved
30.10.2020 21:03:09 ch79
NotSolved
03.11.2020 11:28:35 ch79
NotSolved
03.11.2020 13:27:01 volti
NotSolved
03.11.2020 15:32:08 Gast47610
NotSolved
03.11.2020 16:12:31 volti
NotSolved
03.11.2020 17:33:46 Mase
NotSolved
03.11.2020 17:45:27 Mase
NotSolved
03.11.2020 19:31:10 volti
NotSolved
03.11.2020 19:57:37 Mase
NotSolved
03.11.2020 22:15:13 volti
NotSolved
03.11.2020 23:19:31 Mase
NotSolved

Ansicht des Beitrags:
Von:
Gast83026
Datum:
30.10.2020 14:08:05
Views:
649
Rating: Antwort:
  Ja
Thema:
Body Format

Hallo Karl-Heinz

Es geht irgendwie nicht. Die Schriftart ändert sich nicht und das eingefügte Bild kommt nicht mehr schön zwischen ende Text und der Signatur. Vorhin hats funktioniert ohne:"<span style='font-family:Calibri;font-size:11pt;color:black;'>" With CreateObject("Outlook.Application").CreateItem(0)

Es kommt immer noch Calibri light für den unternstehende Text. Möchte aber nur Calibri.
An was liegt das?
 
  .BodyFormat = 2                           'HTML-Format, Angabe optional
  .Subject = "Crate and Weight Size " & WSh.Range("F20").Value       'Betreff
  .To = "test@mail.com"                      'Empfänger
   sMailtext = "<span style='font-family:Calibri;font-size:11pt;color:black;'>" _
             & "Hi," & vbLf & vbLf & "Crate and weight size for " _
             & WSh.Range("F20").Value & ":" & vbLf & vbLf
  .GetInspector:  sSignatur = .HTMLBody     'Signatur holen
  .HTMLBody = Replace(sMailtext, vbLf, "<br>") & sSignatur
  .Display
 
  iEinf = Len(sMailtext) - 1                  'Grafik Einfügestelle
   
  With .GetInspector.WordEditor.Application.Selection
       .Start = iEinf: .End = iEinf
       .Paste                               'Grafik in Mail einfügen
  End With
  
 End With
End Sub
 
Gruss
ch79

Ihre Antwort
  • Bitte beschreiben Sie Ihr Problem möglichst ausführlich. (Wichtige Info z.B.: Office Version, Betriebssystem, Wo genau kommen Sie nicht weiter)
  • Bitte helfen Sie ebenfalls wenn Ihnen geholfen werden konnte und markieren Sie Ihre Anfrage als erledigt (Klick auf Häckchen)
  • Bei Crossposting, entsprechende Links auf andere Forenbeiträge beifügen / nachtragen
  • Codeschnipsel am besten über den Code-Button im Text-Editor einfügen
  • Die Angabe der Emailadresse ist freiwillig und wird nur verwendet, um Sie bei Antworten auf Ihren Beitrag zu benachrichtigen
Thema: Name: Email:



  • Bitte beschreiben Sie Ihr Problem möglichst ausführlich. (Wichtige Info z.B.: Office Version, Betriebssystem, Wo genau kommen Sie nicht weiter)
  • Bitte helfen Sie ebenfalls wenn Ihnen geholfen werden konnte und markieren Sie Ihre Anfrage als erledigt (Klick auf Häckchen)
  • Bei Crossposting, entsprechende Links auf andere Forenbeiträge beifügen / nachtragen
  • Codeschnipsel am besten über den Code-Button im Text-Editor einfügen
  • Die Angabe der Emailadresse ist freiwillig und wird nur verwendet, um Sie bei Antworten auf Ihren Beitrag zu benachrichtigen

Thema Datum  Von Nutzer Rating
Antwort
29.10.2020 07:51:49 ch79
NotSolved
29.10.2020 08:30:35 TestGast
NotSolved
29.10.2020 12:22:48 volti
NotSolved
29.10.2020 12:32:44 volti
NotSolved
Rot Body Format
30.10.2020 14:08:05 Gast83026
NotSolved
30.10.2020 17:46:32 volti
NotSolved
30.10.2020 17:48:41 volti
NotSolved
30.10.2020 21:03:09 ch79
NotSolved
03.11.2020 11:28:35 ch79
NotSolved
03.11.2020 13:27:01 volti
NotSolved
03.11.2020 15:32:08 Gast47610
NotSolved
03.11.2020 16:12:31 volti
NotSolved
03.11.2020 17:33:46 Mase
NotSolved
03.11.2020 17:45:27 Mase
NotSolved
03.11.2020 19:31:10 volti
NotSolved
03.11.2020 19:57:37 Mase
NotSolved
03.11.2020 22:15:13 volti
NotSolved
03.11.2020 23:19:31 Mase
NotSolved