Solved

Outlook 2010 Custom Form

Posted on 2014-04-09
1
869 Views
Last Modified: 2014-05-05
Hi,

I have created a Outlook 2010 custom form that has a "Send button" on the main form.

Is there anyway I can "Hide" the send button on the toolbar / Ribbon while in this custom form (only) as some users are hitting this button which byepasses all the VBA Code.

Thank you in advance
0
Comment
Question by:Mongo Peck
[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
1 Comment
 
LVL 76

Accepted Solution

by:
David Lee earned 500 total points
ID: 39991151
There is no way I know of to hide the "Send" button on the ribbon when your custom form is open.  That's probably not really necessary though as there are other ways to handle this.  

1.  Move the code that runs when the user clicks your Send button to the Item_Send function in your form.  This function is triggered each time the form is sent.  If yout ake this approach, then the users can use the regular Send button while retaining all the functionality you had with your own Send button.

Function Item_Send()
    'Your code goes here
End Function

Open in new window


2.  Add an ItemSend event handler macro to each user's computer.  Move the code from your form to this procedure.  While this approach will solve the problem, it isn't especially practical particularly if you have more than a few people who will be using your form.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

735 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