Create an item without getting the dialog

D

DENNIS BROWN

Hi,
When I create an item, and retrieve the .Start property (I'm trying to get the date of the currently displayed calendar), it gives the current date. How do I create an item that uses the date I'm viewing within the calendar?
 
K

Ken Slovak - [MVP - Outlook]

You can't unless that date is selected in the UI and you can't do that from
code.




Hi,
When I create an item, and retrieve the .Start property (I'm trying to get
the date of the currently displayed calendar), it gives the current date.
How do I create an item that uses the date I'm viewing within the calendar?
 
S

Sue Mosher [MVP-Outlook]

You'd need to execute the New command using CommandBars. See http://www.outlookcode.com/codedetail.aspx?id=616

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


Hi,
When I create an item, and retrieve the .Start property (I'm trying to get the date of the currently displayed calendar), it gives the current date. How do I create an item that uses the date I'm viewing within the calendar?
 
Top