A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Tags: , , ,

Tool-Button to activate Privat Forms





 
 
Thread Tools Display Modes
  #1  
Old June 25th 08, 11:00 AM posted to microsoft.public.outlook.program_forms
Jorgensen
external usenet poster
 
Posts: 1
Default Tool-Button to activate Privat Forms

I have make a Private Forms. How does I activate my Forms whit a button?

In Word is it posible to record a makro ... but I'm not sure is posible in
Outlook.
Ads
  #2  
Old June 25th 08, 03:37 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Tool-Button to activate Privat Forms

By "a Private Forms," do you mean a form that is marked on its (Properties) page "use only for responses"? To create a new instance of a custom form programmatically, use the Add method on the target folder's Items collection:

Set newItem = targetFolder.Items.Add("IPM.Post.YourFormName")

If it's a message form, 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. To create an item in another person's mailbox, use Namespace.GetSharedDefaultFolder to get the MAPIFolder 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.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Jorgensen" wrote in message ...
I have make a Private Forms. How does I activate my Forms whit a button?

In Word is it posible to record a makro ... but I'm not sure is posible in
Outlook.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Want to activate Outlook email account/make Send button visible althealock Outlook - Installation 1 December 31st 07 07:58 AM
There is no Send/Receive button on tool bar jeffjane Outlook - Installation 2 February 24th 07 02:51 AM
When I signed up forgot to activate send button taz1967 Outlook - Installation 1 January 3rd 07 05:28 AM
Activate a document from within forms CQ Outlook - Using Forms 2 July 19th 06 11:41 PM
Activate button when select contact gdvrij@conclusion.nl Outlook and VBA 1 June 14th 06 08:24 PM


All times are GMT +1. The time now is 10:23 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Mortgage Calculator - Mortgages - Debt Help - Loans - Debt Consolidation