Set Outlook Appointment Time Zone

288enzo

Well-known Member
Joined
Feb 8, 2009
Messages
721
Office Version
  1. 2016
Platform
  1. Windows
I'm having trouble setting the time zone of an appointment.


I have tried "StartTimeZone" & "StartInStartTimeZone" = EST

StartTimeZone gives me an error '424' Object required
StartInStartTimeZone converts the appointment start date and time from 03/14/2022 14:00 to 12/30/1899 12 AM

Creating the appointment works perfect if I don't mess with the time zone, but I'll be sending this to recipients all across the US and need the time zone to be set.

VBA Code:
Sub appointment()

Dim App As Outlook.Application
Dim Meet As Outlook.AppointmentItem
Dim stime As Variant

Set App = Outlook.Application
Set Meet = App.CreateItem(olAppointmentItem)

stime = [H1] & " " & Format([B5], "hh:mm")

With Meet
.Subject = ""

.Start = stime
.StartInStartTimeZone = EST
.Duration = 120
.Importance = olImportanceHigh
.ReminderMinutesBeforeStart = 15
.Body = ""
.MeetingStatus = olMeeting

.display
End With

End Sub

If I move "StartInStartTimeZone" above "Start" the time zone isn't changed.

Capture.JPG


My objective is -

Capture2.JPG
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Forum statistics

Threads
1,214,638
Messages
6,120,676
Members
448,977
Latest member
moonlight6

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top