Results 1 to 5 of 5

Thread: Launch Outlook's Send Msg dialog, but no send

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2000
    Location
    NY
    Posts
    497
    Thank you Lafor & HeSaidJoe for helping me out on my last Outlook question. Here's another one for you or any one of you children out there...

    Without using an API call (anyone know if we're privy to one?) how can you get the Send-to dialog displayed so the user can have control to edit/send/save/cancel?
    end war
    stop greed

  2. #2
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    617

    ...

    do u want to just start outlook?

    If so, find the path and shell it

    shell "C:\Program Files\Microsoft Office\Office\Outlook.exe"

    That's the path where mine is..

  3. #3
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    617

    ...

    VBMOM,

    Just in case you did not want to launch outlook

    ' Create new message
    Set objOutlookMsg = objOutlook.CreateItem(olMailItem)

    With objOutlookMsg
    .To = "[email protected]"

    .Subject = "This is a test"

    .Body = "Dear Mr/Mrs VB" & vbNewLine
    .Body = .Body & "This automated email is to tell you"
    .Body = .Bo0dy & "...that you started on " & vbnewline

    'here is the key
    .Display 1

    end with

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2000
    Location
    NY
    Posts
    497

    Smile

    Thank you so much. I shoulda looked in the object browser for methods, huh...
    end war
    stop greed

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2000
    Location
    NY
    Posts
    497
    Thank you, that worked great. I have another problem with ShellExecute I'm posting separately. Thanks for your help again!
    end war
    stop greed

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