Results 1 to 3 of 3
  1. #1
    Remster is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Sep 2010
    Posts
    317

    Assigning Outlook task from shared Outlook mailbox


    Folks

    I'm using the following code to create and assign an Outlook task:
    Code:
            With CreateObject("Outlook.Application").CreateItem(olTaskItem)
                .Display
                .Assign
                .Importance = olImportanceHigh
                .Subject = EmailSubject
                .DueDate = EmailDueDate
                .Body = EmailBody
                .Recipients.Add (EmailRecipients)
            End With
    ('EmailSubject', 'EmailDueDate', 'EmailBody' and 'EmailRecipients' are all variables that I declare and define earlier in the code.)

    The problem I have is that I want the assigned task to be sent from a shared mailbox and not from my personal mailbox, as it would be useful for other members of my team to be able to track the progress of each task. Any suggestions?

    Remster

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,825
    Try .SentOnBehalfOfName property.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Remster is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Sep 2010
    Posts
    317
    Thanks, I've tried that, but it doesn't seem to be an option for tasks ('Object doesn't support this property or method').

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Creating and Formating Outlook Task
    By steve-bart in forum Programming
    Replies: 2
    Last Post: 08-26-2011, 02:18 PM
  2. Using ListBox value as "Body of outlook task"
    By AccessFreak in forum Database Design
    Replies: 3
    Last Post: 05-07-2011, 04:40 PM
  3. Update Outlook task from Access
    By timg147 in forum Programming
    Replies: 1
    Last Post: 08-16-2010, 12:27 PM
  4. Add task from Access to Outlook
    By Johan in forum Programming
    Replies: 1
    Last Post: 03-31-2010, 09:58 AM
  5. Export Access reports/query results to Outlook Calendar/Task
    By kfinpgh in forum Import/Export Data
    Replies: 0
    Last Post: 02-22-2007, 01:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums