Create task with email URL instead of attachment

Status
Not open for further replies.

schwarznavy

New Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
Hello,

I use Quick Steps to Create a task with attachment.

Is there a way to use VBA to instead Create a task with URL to original email? I read a little bit and it seems like there is an EntryID for each unique item in Outlook. Would this EntryID remain the same even if I moved the email after first retrieving the URL?

Bonus question: Once I "complete" the task I would like for the email to automatically be moved to a different folder. Is this possible in either situation described above (if the task was created with attachment or if the task was created with URL)?

Thank you very much.
 

Michael Bauer

Senior Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
You cannot be sure that an EntryID remains the same. As you cannot add a VBA script to a Quick Step, you' have to write all the logic yourself.
 

schwarznavy

New Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
Thank you for replying (to both my questions). When is it possible for an EntryID to change? If I move an e-mail to a folder, would the e-mails EntryID always remain the same? What if I rename the folder? What if I move the folder?

Can anyone point me in the direction of some code that is at least part of the way toward pulling out a URL with the EntryID of an item and then making a task with that link in it?

Thank you.
 

schwarznavy

New Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
Well, I've abandoned this idea. My idea at first was to have a macro that would take an incoming e-mail with some kind of required action, create a task from that email, and include a link to the original email. That way when I am about to mark the task complete I could click the link to the email, archive the email, and then mark the task complete.
I've decided a quicker flow would be to flag the message, and then rename the task as appropriate. That way I can mark it complete and archive the email all from one Entry....the original flagged message. It'll save me a step.
Now I would like to figure out how to make a macro that will flag a message (and prompt for due date), and then prompt to rename the task. Normally I'd rename the task (a flagged message) by right-clicking on it and choosing "rename task."
 

Michael Bauer

Senior Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
Here's an extensive example for how to flag emails with a reminder. The dt variable holds the date, the tm variable holds the time. Instead of using the default values, use the Inputbox function to enter any dates and times.

The TaskSubject property of the email holds the subject of its associated task item.
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
Diane Poremsky Create a Task from an Email using a Rule New Slipstick.com Articles 0
Diane Poremsky Create Tasks from Email and move to different Task folders New Slipstick.com Articles 0
A Create Task from Email and put body & email as attachment into task notes Outlook VBA and Custom Forms 17
H Create a Task by Draft-EMail > Task+Reminder not Working Outlook VBA and Custom Forms 1
C Visual Basic auto create task from email including attachments Using Outlook 9
Diane Poremsky Create a Task when a Message is Flagged New Slipstick.com Articles 0
Diane Poremsky Automatically create a task when sending a message New Slipstick.com Articles 0
Diane Poremsky Create Task or Appointment and Insert Selected Text New Slipstick.com Articles 0
M Automatically create event in calendar when task is created Outlook VBA and Custom Forms 1
H Is it possible to create a view that only show the first task in a list? Using Outlook 1
M receive mail when appointment category changes and create task from appointment Outlook VBA and Custom Forms 0
B on flag message event - create task Outlook VBA and Custom Forms 22
S Auto Create new Task upon Current Task completion Outlook VBA and Custom Forms 28
N Macro to create task Using Outlook 1
J OL2010 Create a new task while off line Exchange Server Administration 3
2 Flag for Follow up or create new task Using Outlook 1
S Macro to create a new contact, 2 appointments, and a task Using Outlook 1
J Create new outlook task into task subfolder using vba Using Outlook 6
W How to create a cutsom task field in c#? Using Outlook 1
A Outlook 2010 trying to create calendar/task entries generates error "Could not save item.The connect Using Outlook 2
A Outlook 2010 trying to create calendar/task entries generates error "Could not save item.The connect Using Outlook 1
W Create a task to show up on due date only? Using Outlook 2
D create auto number field in task form Outlook VBA and Custom Forms 4
C create a button go to linked account on a task form BCM (Business Contact Manager) 3
Chiba Create an appointment for all the members Outlook VBA and Custom Forms 1
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
C Can't create Outlook data file Outlook Wishlist 0
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
F Delete/create/reset Exchange mailbox on Outlook.com Using Outlook.com accounts in Outlook 3
R Can not create folder to store specific emails in in Outlook for Mac Using Outlook 1
W Create Search Folder excluding Specific Email Addresses Using Outlook 5
A Outlook macro to create search folder with mail categories as criteria Outlook VBA and Custom Forms 3
K VBA BeforeItemMove event create rule to always move to its folder. Outlook VBA and Custom Forms 4
JackBlack What tools do you use to create the signature for email? Using Outlook 3
Rupert Dragwater How to create a new email with @outlook.com Using Outlook.com accounts in Outlook 32
F Should a new email account also create new contacts Using Outlook 2
D create an html table in outlook custom form 2010 using vba in MsAccess Outlook VBA and Custom Forms 7
R Outlook add-in to create new contact from an email. Using Outlook 0
Tanja Östrand Outlook 2016 - Create Macro button to add text in Subject Outlook VBA and Custom Forms 1
Q Script to create a pst file for Archiving Using Outlook 1
Similar threads


















































Top