Create task with email URL instead of attachment

Status
Not open for further replies.

schwarznavy

Senior 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.
 
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.
 
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.
 
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."
 
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.
Similar threads
Thread starter Title Forum Replies Date
S Create Outlook Task from Template and append Body with Email Body Outlook VBA and Custom Forms 4
P Can I create a Rule that sends me an email when I get a Task? Using Outlook 2
Diane Poremsky Create a Task from an Email using a Rule Using Outlook 0
Diane Poremsky Create Tasks from Email and move to different Task folders Using Outlook 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 Using Outlook 0
Diane Poremsky Automatically create a task when sending a message Using Outlook 0
Diane Poremsky Create Task or Appointment and Insert Selected Text Using Outlook 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
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
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
J PSA: How to create custom keyboard shortcut for "Paste Unformatted Text" in Outlook on Windows Outlook VBA and Custom Forms 1
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
C Create Meeting With Custom Form Outlook VBA and Custom Forms 2
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
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
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
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

Similar threads

Back
Top