Invoke "add item" dialog

  • Thread starter Thread starter Opher Shachar
  • Start date Start date
O

Opher Shachar

Hello all,
I'd like to invoke the outlook "add item" dialog from vba code in an excel
project.
Unlike Word there's no "Dialogs" object in the outlook hierarchy.
I used the GetExplorer of the MAPIFolder object, disabling all command-bars
and connecting to the Close event. But this doesn't really give a modal
effect or the intuitive look and feel expected.

I'd appreciate any help,
Opher.
 
What "add item" dialog do you mean? Are you talking displaying a newly
created message (or contact etc)? Try to use Application.CreateItem, then
MailItem.Display (or ContactItem.Display etc)

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top