HalloDu kannst per VBA Outlook steuern. Dazu musst Du einen Verweis zur Outlook Type Library haben. (Zu den Verweisen kommst Du, wenn Du in einem Modul bist und dann Extras / Verweise auswählst.)Dann sind Funktionen wie die folgende möglich: Function mail(ByVal adr As String, ByVal betr As String, ByVal Text As String, ByVal att As String)Dim m As MailItemDim myOlapp As outlook.ApplicationSet myOlapp = CreateObject("Outlook.Application")Set m = myOlapp.CreateItem(olMailItem)With m .To = adr If Not att = "" Then .Attachments.Add att 'Die Variable att enthält den Pfad des Attachments End If .Subject = betr .Body = txt .sendEnd WithEnd FunctionGruss Michi
geschrieben von
Michi K
,
07.01.2000, 11:31 Uhr
, 19 mal gelesen