take a look at this. You need a refrence to Outlook in your project. Dim OlApp As Outlook.Application Dim OlMail As MailItem Dim OlContact As ContactItem Dim OlTask As TaskItem Dim OlAppointment As AppointmentItem Dim OlMeeting As MeetingRequestItem
Dim Tstart As Date Dim Tend As Date
Set OlApp = CreateObject(\"Outlook.application\") Set OlAppointment = OlApp.CreateItem(olAppointmentItem) Set OlContact = OlApp.CreateItem(olContactItem)
nu har jeg fået det til at virke. Det ligner meget det du kom med Terry. Tak for hjælpen.
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.