Calling up another from from a form in outlook98

We have 6 internal forms that we need to creat a menu for.  We would like to use commandbuttons. (1-6)  all of the forms are stord in a "orginasasional forms library" on the exchange server.(ver. 5.0) I can call up each form one at a time.  And they work correctly. But we need to creat a menu form that will be sent to no one.  from that menu they will click a commandbutton and have a form displayed that they can send to there managers.  I can creat the form and the commandbutton but I do not know the correct sintax for the Commandbutton.
an example of the form is that needs to be called from the command button is Move urer request.  If I can get it to work on one form then I can set it up for the others.  I am not a visual basic script programmer so any help or the correct questions that I should be asking will be apreaceated.
SOrry for the spelling
bbealeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mohnshineCommented:
From the VBA help:

Set myOlApp = CreateObject("Outlook.Application")
Set myNameSpace = myOlApp.GetNameSpace("MAPI")
Set myFolder = myNamespace.GetDefaultFolder(olFolderTasks)
Set myItems = myFolder.Items
Set myItem = myItems.Add("IPM.Task.myTask")

The last line actually creates the item

I have done this with a form in my personal folder.  I don't know what, if anything, you would have to do anything different for an organizational folder.  No access to one here.
0
bbealeAuthor Commented:
Thank you for your input I will have to look at it.  
If I am not mistaken you are using visual basic.  to open the form.
What I am trying to do is from the tools/forms in the "orginazaional forms Library" (it is a folder that is on the exchange server) when I call up the menu form.
I want an opject "commandbutton" to call up another form.
I need the syntax for that command.
the name of the form is move "user request" I thought it had to be written in visual basic script.  is your axample written in visual basic.  I would offer more points if I had them to offer.
0
mohnshineCommented:
Have you checked this out yet?

This does work and it is Visual Basic, but it is Visual Basic for Applications.  Outlook and the other Office products recognize this 'scaled down' version of VB.

Like I said before, this same code is used in forms that I developed for use in my organization.  Of course, none of my forms are named 'myTask'!!!!  :)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bbealeAuthor Commented:
This does work but I still dont know if it will pull from the orginasasional forms library.  if you have a snipit of code for that it would also be helpful
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Outlook

From novice to tech pro — start learning today.