Results 1 to 3 of 3

Thread: Action to Append text to Subject in Task? *RESOLVED

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2003
    Location
    Dorothy & Toto-ville
    Posts
    3

    Action to Append text to Subject in Task? *RESOLVED

    I'm looking for a bit of assistance on how to append more text to an existing Subject in an Outlook2000 task. I've successfully written the code to copy an existing open Task, and I can change the Subject, but I want to append the work "copy" to it, not replace it.

    Code:
    Private Sub copyTask_Click()
    Private Sub copyTask_Click()
    Dim myolApp As Outlook.Application
    Dim myItem As Outlook.TaskItem

    Set myolApp = CreateObject("Outlook.Application")
    Set myItem = myolApp.ActiveInspector.CurrentItem
    Set myCopiedItem = myItem.Copy

    With myCopiedItem
    .Subject = (" copy")
    .Save
    End With

    Set olookTask = Nothing
    Set olookApp = Nothing

    End Sub


    What do I need to add to my ".Subject = ("copy") line????
    Last edited by kdrungilas; May 14th, 2003 at 10:18 AM.
    kathy drungilas
    http://www.outsourcecorp.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width