Appointment form designed in outlook how to call it using vba

  • Thread starter Thread starter N
  • Start date Start date
N

N

Hi

I have designed a form in outlook , an appointment form I would like to use
with in my vba program. Right now the program brings up the standard appt
form
with this command

Dim objOutlook As Outlook.Application
Dim objAppt As Outlook.AppointmentItem
Set objOutlook = CreateObject("Outlook.Application")
Set objAppt = objOutlook.CreateItem(olAppointmentItem)

how do I get my program to call my new appt form
any help would be great
thnx
N
 
To create a new instance of a custom form programmatically, use the Add
method on the target folder's Items collection. If it's a message form, you
can use the Drafts folder as the target. If the target is a default folder,
you can use the Namespace.GetDefaultFolder method to return it as a
MAPIFolder object. Otherwise, you can use the code at
http://www.outlookcode.com/d/code/getfolder.htm to walk the folder hierarchy
and return the MAPIFolder corresponding to a given path string.

See http://www.outlookcode.com/d/launchform.htm for other ideas.
 
thanks sue I knew it was along those lines but just couldn't see it
I was hoping you would answer my questions
your book looks interesting wish they would have one in my city I would have
picked it up
thnx
N
 
Back
Top