PC Review


Reply
Thread Tools Rate Thread

Creating toolbar button for form

 
 
Savannah
Guest
Posts: n/a
 
      12th Aug 2009
I created a form and wrote a macro to make a toolbar button, but my toolbar
button does not work. However, I now have a link to and can access the form
by clicking "Actions". Did I do something incorrectly when I wrote the code?

This is the code I used:
Sub DisplayForm()
Set myFolder = Session.GetDefaultFolder(olFolderInbox)
Set myItem = myFolder.Items.Add("IPM.Note.MyForm")
myItem.Display
End Sub

I would appreciate any guidance.
--
Savannah
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating macro button on toolbar tanyhart Microsoft Excel Programming 1 13th Jul 2006 03:10 PM
Dynamically creating a toolbar button Gregory Kip Microsoft Excel Programming 1 14th Mar 2006 04:44 PM
Creating Toolbar Button =?Utf-8?B?S01jTGVsbGFu?= Microsoft Word Document Management 1 14th Jun 2004 09:15 PM
Creating a toolbar button in one form but not the main Outlook form? Scott Lezberg \(Deltek\) Microsoft Outlook Program Addins 0 26th Jan 2004 03:52 PM
Creating a button on Excel Toolbar Todd Huttenstine Microsoft Excel Programming 2 1st Dec 2003 11:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:46 PM.