Create a custom "Send" Button

Status
Not open for further replies.

Stephane

Member
Outlook version
Outlook 2010 32 bit
Email Account
POP3
Dear All,

In order to track some of the assignments I give to persons, save sent e-mails in a separate folder ("waiting for" not the sent one), categorise them with "waiting for" and have them flagged with a "no date" flag.
This involves however a high numbers of clicks which I would like to avoid.

I already tried things with a quick steps but there the actions only works if I create a new message, not when I forward an existing one (which is then the one flagged, categorised, etc). I also tried rules but this involves creating a bcc message or imputing a special text in the mail, which I would like to avoid.

How could I create a "send button" which would perform all the above actions when pressed ?

Would it be possible to have this button doing the above actions but instead of flagging with "no date", have a window popping up and asking for the delay ?

I'm not so familiar with VBA so sorry if my question is straightforward

Thanks

Stephane
 
These are the properties you need to set:

1. If the folder, where you want to save the message, is in the same store, then set the SaveSentMessageFolder property. Here are some examples for how to use it.

2. Write the category to the Categories property.

3. Here are some examples for how to flag a message for follow-up. It first uses the DateAdd function to add, for instance, seven days to the current date, if you want the message be due in seven days. It then adds a time to the date, and passes the result (that is date & time) to the TaskStartDate and TaskDueDate properties.

To be more flexible you could query both values, that is the number of days to be added and the time, by using the InputBox function.
 
Dear Michael,

Many thanks for your input but I'm afraid, I will not be able to implement it seen my lack of knowledge.

I started with your second variant for Savesentmail but didn't even succeed in getting that run. For whichever reason, the macro name does not even appear.
Could you maybe provide some more hints towards the implementation ?

Thanks a lot for your help

Stephane
 
Macros that take parameters do not appear but can be called by other macros, or by events like the ItemSend event in this case. The given examples will be called automaically when you hit the Send button.

This one can be run manually as it doesn't take any parameters:
Code:
Public Sub WhatEverName()
  'This line calls the other macro and passes the open, active item
  SaveSentMail Application.ActiveInspector.CurrentItem
End Sub
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
D Create additional custom flag descriptions (other than Send E-Mail, Call etc.) Using Outlook 1
J PSA: How to create custom keyboard shortcut for "Paste Unformatted Text" in Outlook on Windows Outlook VBA and Custom Forms 1
C Create Meeting With Custom Form Outlook VBA and Custom Forms 2
S Create a clickable custom column field Outlook VBA and Custom Forms 0
O Create a custom contact form - questions before messing things up... Outlook VBA and Custom Forms 4
D create an html table in outlook custom form 2010 using vba in MsAccess Outlook VBA and Custom Forms 7
G How do I create a custom pick list in VB for an outlook automated email? Outlook VBA and Custom Forms 1
L Create Custom Form Using Outlook 0
Diane Poremsky Create a custom field for Outlook messages Using Outlook 0
Diane Poremsky Create a Custom Numbering Field for Outlook messages Using Outlook 0
I Create custom Outlook 2013 Rule in Office 365 Outlook VBA and Custom Forms 5
T Create custom calendar entry form... Outlook VBA and Custom Forms 3
E Create a URL hyperlink in an Outlook custom form? Outlook VBA and Custom Forms 2
R Can I create custom subgroups on the ribbon? Using Outlook 5
J How to create a user defined dropdown list field for a custom contact form Using Outlook 3
O Outlook 2010 - How to create custom Group By Arrangements for email Using Outlook 3
P Create appointment to custom (shared) outlook calendar Outlook VBA and Custom Forms 3
C How to create a custom 'View Type' Outlook VBA and Custom Forms 7
Q How do I create a custom action for a rule? (Save as "Nfy.MSG") Outlook VBA and Custom Forms 1
S Create Outlook Task from Template and append Body with Email Body Outlook VBA and Custom Forms 4
B Modify VBA to create a RULE to block multiple messages Outlook VBA and Custom Forms 0
J Want to create a button on the nav bar (module add-in) to run code Outlook VBA and Custom Forms 2
B How to create a button that sorts and selects the most recent message with ONE click Using Outlook 2
W Create a Quick Step or VBA to SAVE AS PDF in G:|Data|Client File Outlook VBA and Custom Forms 1
Wotme create email only data file Using Outlook 1
S Outlook 365 Help me create a Macro to make some received emails into tasks? Outlook VBA and Custom Forms 1
J How to create a drop down user defined field that will appear on an inbox view Outlook VBA and Custom Forms 8
Commodore Any way to create "from-only" account on Outlook 2021? Using Outlook 1
L Capture email addresses and create a comma separated list Outlook VBA and Custom Forms 5
N Can't create NEW GROUP and add/remove a member from existing Group in Outlook Using Outlook 1
NVDon Create new Move To Folder list Outlook VBA and Custom Forms 0
D Create advanced search (email) via VBA with LONG QUERY (>1024 char) Outlook VBA and Custom Forms 2
G Create ordinal numbers for birthday Outlook VBA and Custom Forms 2
O Outlook 365 - How to create / copy a new contact from an existing one? Using Outlook 5
D Create new email from the received Email Body with attachment Outlook VBA and Custom Forms 10
A How to create fixed signatures for aliases that process through GMAIL? Outlook VBA and Custom Forms 0
P Can I create a Rule that sends me an email when I get a Task? Using Outlook 2
M How create a Rule to filter sender's email with more that one @ sign Using Outlook 1
B Can I create a local PST file for SPAM on a drive that is usually disconnected? Using Outlook 3
Chiba Create an appointment for all the members Outlook VBA and Custom Forms 1
L automaticaly create a teams meeting with a sync Using Outlook 0
D Can Exchange Admin Center create a pst for users email/contacts/calendar? Exchange Server Administration 0
S Create A Search Folder That Looks For Message Class? Outlook VBA and Custom Forms 0
F How to create phone number as links in notes of Contacts Using Outlook 2
Nessa Can't create new appointment Using Outlook 1
A Create date folder and move messages daily Outlook VBA and Custom Forms 1
C Create new Message with shared contacts & BCC'ing recipients Outlook VBA and Custom Forms 0
O Multiple email accounts - hesitate to create a new profile Using Outlook 3
G Can't create Folder Groups in Outlook 2013 Using Outlook 0
N Outlook rules don't create a copy for bcc'ed emails Using Outlook 3

Similar threads

Back
Top