A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Getting Weekday in AppointmentItem



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 21st 07, 08:08 PM posted to microsoft.public.outlook.program_vba
DENNIS BROWN
external usenet poster
 
Posts: 51
Default Getting Weekday in AppointmentItem

How would I determine the weekday of an appointment item? The .Start and .End return the date and time, but not the day of week the appointment is on. Is there a method to get that when reading the currently selected item with
..ActiveExplorer.Selection(1).Start, or something similar?
--

Thanks,
Dennis
Ads
  #2  
Old June 21st 07, 09:10 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Getting Weekday in AppointmentItem

You can use the Weekday() function to return a number corresponding to the day of the week.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"DENNIS BROWN" wrote in message ...
How would I determine the weekday of an appointment item? The .Start and .End return the date and time, but not the day of week the appointment is on. Is there a method to get that when reading the currently selected item with
..ActiveExplorer.Selection(1).Start, or something similar?
--

Thanks,
Dennis
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to print same weekday over many months [email protected] Outlook - Calandaring 0 May 7th 07 11:09 PM
How to modify an AppointmentItem? OctopusThu Add-ins for Outlook 6 December 14th 06 07:13 AM
How to efficiently get an AppointmentItem by its EntryID? OctopusThu Add-ins for Outlook 2 December 8th 06 04:39 PM
Weekday not showing George Hill Outlook - Calandaring 2 July 7th 06 04:51 AM
AppointmentItem question (2003) Dana DeLouis Outlook and VBA 1 January 18th 06 06:13 PM


All times are GMT +1. The time now is 08:45 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright 2004-2025 Outlook Banter.
The comments are property of their posters.