ist die MS Outlook 11.0 Object Library im Verweis für Office 2003 und kann ich die gefahrlos bei mir (Office 2000 Prof) einbinden? Und was macht die OUTLWAB.dll ? ist das besagte Library. Grund: Habe hier im Forum von Tassos ein script bekommen, das nicht läuft. Nach meiner Suche nun fehlenden Verweis gefunden. Danke für Hinweise oder Tipps! Gruß Horst
Script, das bei mir nicht läuft (Outlook 2000 soll geöffnet werden, NICHT Outlook Express!) für UserForm:
Option Explicit
'Tassos
<pre>
Private Sub Label3_Click()
' Dim OutApp As Outlook.Application, oMail As Outlook.MailItem, c As Range
Dim oMail As Outlook.MailItem, c As Range
Application.ScreenUpdating = False
Set OutApp = CreateObject("Outlook.Application")
On Error GoTo clearit
Set oMail = OutApp.CreateItem(olMailItem)
With oMail
.To = TextBox1
.Subject = "Anfrage..."
.Body = " Sehr geehrter Hr. HorstH," & vbNewLine & _
vbNewLine & "bitte senden Sie mir Info-Material für Ihr Produkt..."
.Display
End With
clearit:
If Err Then
Set OutApp = Nothing
Application.ScreenUpdating = True
End If
End Sub</pre>