Search results

  1. L

    Categorize new email

    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
  2. L

    Change Category in a Task via macro

    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...
  3. L

    Change Category in a Task via macro

    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.
  4. L

    Change Category in a Task via macro

    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...
  5. L

    Change Category in a Task via macro

    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...
  6. L

    Change Category in a Task via macro

    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...
  7. L

    Creating a Task from Email and Attaching Original Email

    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...
  8. L

    Creating a Task from Email and Attaching Original Email

    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...
  9. L

    Creating a Task from Email and Attaching Original Email

    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...
  10. L

    Outlook Macro for flagging messages

    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...
  11. L

    VBA Macro to flag sent emails

    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...
Top