ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   programming outlook 2000 from excel (https://www.excelbanter.com/excel-programming/271376-programming-outlook-2000-excel.html)

david lindstrom

programming outlook 2000 from excel
 
When making an appointment in Outlook 2000 from Excel can you set categories to business or personal for example) or make an appointment private?


--
Regards,
DL


Mirsten Choiple

programming outlook 2000 from excel
 
Sub SetAppointment()

Dim olApp As Outlook.Application
Dim olApt As AppointmentItem

Set olApp = New Outlook.Application
Set olApt = olApp.CreateItem(olAppointmentItem)

With olApt
.Start = DateSerial(2003, 7, 12) + TimeSerial(10, 0, 0)
.End = DateSerial(2003, 7, 12) + TimeSerial(18, 0, 0)
.Subject = Range("A2")
.Location = Range("B2")
.Body = Range("C2")
.Categories = "Business"
.Sensitivity = olPrivate
.BusyStatus = olFree
.ReminderMinutesBeforeStart = 240
.ReminderSet = True
.Save
End With

Set olApt = Nothing
Set olApp = Nothing

End Sub


david lindstrom wrote:
When making an appointment in Outlook 2000 from Excel can you set
categories to business or personal for example) or make an
appointment private?



All times are GMT +1. The time now is 05:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com