I wanted to add a New e-mail button to the code, but couldn't seem to find any info on the correct codes
eg
ThisForm.OleControl1.Folder = "CALENDAR"
(opens the OutLook Calendar)
and
ThisForm.OleControl1.Folder = "INBOX"
(opens the OutLook InBox)
and
ThisForm.OleControl1.Folder = "SENT ITEMS"
(opens the OutLook Sent Items)
and
ThisForm.OleControl1.Folder = "CONTACTS"
(opens the contacts and so on)
I tried...
PROCEDURE cmdNew.Click
ThisForm.OleControl1.Folder = "NEW" <----***
ThisForm.Caption = "OutLook New e-mail"
ThisForm.Refresh()
ENDPROC
(a rank guess on my part) but the line with the "NEW"<----*** is obviously the one which is key...
Can someone tell me where to find the correct codes for the other folders so I can access this point...
Also I have a outlook calender called CALANDER1...??
I searched the Microsoft page (and generally) with no joy...
John
eg
ThisForm.OleControl1.Folder = "CALENDAR"
(opens the OutLook Calendar)
and
ThisForm.OleControl1.Folder = "INBOX"
(opens the OutLook InBox)
and
ThisForm.OleControl1.Folder = "SENT ITEMS"
(opens the OutLook Sent Items)
and
ThisForm.OleControl1.Folder = "CONTACTS"
(opens the contacts and so on)
I tried...
PROCEDURE cmdNew.Click
ThisForm.OleControl1.Folder = "NEW" <----***
ThisForm.Caption = "OutLook New e-mail"
ThisForm.Refresh()
ENDPROC
(a rank guess on my part) but the line with the "NEW"<----*** is obviously the one which is key...
Can someone tell me where to find the correct codes for the other folders so I can access this point...
Also I have a outlook calender called CALANDER1...??
I searched the Microsoft page (and generally) with no joy...
John