WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Programmierung (http://www.wcm.at/forum/forumdisplay.php?f=17)
-   -   Outlook - Schriftart/-größe via VBA festlegen (http://www.wcm.at/forum/showthread.php?t=241812)

Karl99 29.03.2011 10:01

Outlook - Schriftart/-größe via VBA festlegen
 
Liebe Leute im Forum!

Habe das Problem, dass ich eine Schrift (Times New Roman) und eine Schriftgröße (12) in einem Outlook-Makro zuweisen möchte, ohne auf HTML-Body zu ändern.

So wieht mein momentaner Script aus, dem die optische Änderung beigefügt werden soll..
Danke
Karl

Sub layout()
Dim obj As Object
Dim aText As String

aText = “Testbeispiel”

Set obj = Application.ActiveInspector.CurrentItem

With obj
.Body = aText & .Body
End With

End Sub

Karl99 31.03.2011 10:40

Niemand kann mir helfen? :heul:


Alle Zeitangaben in WEZ +2. Es ist jetzt 13:39 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag