Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Outlook, Exchange and Forms

Posted on 2003-11-25
3
Medium Priority
?
206 Views
Last Modified: 2010-04-08
Hello,
I have a form for booking Telephone calls, and would like to write a macro (for a button in my toolbar) that will open that form.

How do I write that macro (outlook 2K, 2002 and 2003)

Thank you
0
Comment
Question by:LotharGores
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 4

Accepted Solution

by:
JeremyCrouch earned 375 total points
ID: 9818915
Here is how I do it:

Sub DisplayMyForm()
Dim ns As NameSpace
Dim Inbox As MAPIFolder
Dim form As MailItem

Set ns = GetNamespace("MAPI")
Set Inbox = ns.GetDefaultFolder(olFolderInbox)
Set form = Inbox.Items.Add("IPM.Note.MyForm")
form.Display
End Sub

All of the forms that I have created are in the 'IPM.Note' class. But Im not sure if everyone's would be that way. So to check go to 'Tools' -> 'Forms' -> 'Choose Form'. Then select 'Personal Forms Library' from the drop down box. When you highlight a form you should see the message class at the bottom, if not click on the 'Details' button.
0
 
LVL 2

Author Comment

by:LotharGores
ID: 10580226
Thank you, I did forget to have this Question removed, as there seems to be no awnser to my Problem. Allthough JeremyCrouch solution works, it does not solve my issue. I will reward JeremyCrouch the points, as gis example did allow me to follow a different Solution.
Thanks dude.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Large Outlook files lead to various unwanted errors and corruption issues. Furthermore, large outlook files can also make Outlook take longer to start-up, search, navigate, and shut-down. So, In this article, i will discuss a method to make your Out…
Changing a few Outlook Options can help keep you organized!
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

660 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question