Hi,
Is there a way to check an email after I open it to see if it has a category and if not open the category dialog box? I want this to happen automatically, not by a button. Can this be done using VBA?
Any help is appreciated,
Laura
My problem isn't with the "complete" it is with the categories. I have a category already assigned to the task. I want to change that category and mark complete with a macro. With the task opened, I run the macro, when the categories dialog box opens there is no category chosen; which I think...
It just doesn't want to work :-( It will not change the category or change it to complete. I'm at a loss...The categories box comes up, I change it, but it doesn't change the category.
I receive an error "object doesn't support this property or method" with the code:
arySelection.Item(x).ShowCategoriesDialogue
......
If Not objExplorer Is Nothing Then ' Get the current item.
Dim arySelection As Object
Set arySelection = objExplorer.Selection
For x = 1 To...
I want to be able to pick the category and change to complete. I want to do it using a macro so not in ThisOutlookSession (I have other code there).
I want to replace the category so it only has the new one.
I already am using the ShowCategoriesDialogue which pops up, but doesn't change...
I am trying to change a task category using a macro by opening the categories dialog box while in the task and have it automatically change the name and mark it complete..
I've started some code, but I can't get anything to work. Any help is appreciated
Public Sub TagCompleted()
Dim...
Thank you for this new set of code...
Right before you sent this, I tried one last thing with what I originally had and it worked...
I put and item.Save before the rest of the code which saved it as draft...then the code, save again and it worked...
Private Sub...
I did what you suggested, but the task attaches "untitled" twice and only the To: information, nothing else...
Private Sub Application_ItemSend(ByVal item As Object, cancel As Boolean)
Dim olApp As Outlook.Application
Dim olTask As Outlook.TaskItem
Dim olItem As Object
'Dim...
Hi,
I have a macro in the ThisOutlookSession in Outlook to ask if I want to create a task and if Yes, creates it. It works great, but can I attach the orginal sent email to the task in case I need to reply to that original email?
Here is the code I have working:
Private Sub...
I'm hoping someone can help me. I have the following code in ThisOutlookSession
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
On Error Resume Next
prompt$ = "Do you want to flag this message for followup?"
If Item.Importance = olImportanceHigh Then
With...
Hello,
I copied codefrom Diane Peremsky for flagging sent emails...I've put the code in a module...
Option Explicit
Private WithEvents olSentItems As Items
Private Sub Application_Startup()
Dim objNS As NameSpace
Set objNS = Application.Session
' instantiate objects declared...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.