Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Oct 2002
    Houston, Texas, USA
    Thanked 0 Times in 0 Posts

    Forward Form (MS Outlook 2003)

    Using VB how do I forward a form? Below is how I used to do it when we used MS Outlook 98

    'Sub Forward1
    ' Item.To = "Daniel REyes"
    ' Item.SentOnBehalfOfName=strCAD
    ' Item.Send
    'End Sub

    With all this security stuff.. How do we do it now?

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Silicon Valley, USA
    Thanked 94 Times in 90 Posts

    Re: Forward Form (MS Outlook 2003)

    You have security prompts with VBA, too. If you want to completely bypass security prompts, without buying Redemption, you may have to learn some very ugly "extended MAPI" programming.

    "Item" is used in VBScript, since it is obvious what it refers to: the message in which the script is running. In VB code, on the other hand, you usually need to be much more specific. For example, your code might refer to the top-most open message window (ActiveInspector.CurrentItem). If you are intercepting an event, an item will automatically be made available to you by that event, and you should use whatever name is in the paramters of your procedure (the VB Editor usually suggests something).

Posting Permissions

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