|
-
May 14th, 2003, 09:37 AM
#1
Thread Starter
New Member
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
-
May 14th, 2003, 09:40 AM
#2
Addicted Member
Just a guess, I haven't tried it.
Code:
.Subject = .Subject & "(copy)"
Travis, Kung Foo Journeyman
Web Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.5 Guide and Reference
Perl: Documentation, Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
OSS: Mozilla, MySQL (Manual)
-
May 14th, 2003, 10:17 AM
#3
Thread Starter
New Member
Wow! That was a FAST answer!
You're right--that worked! Thanks a Bunch!
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|