Results 1 to 2 of 2

Thread: send form

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Posts
    4

    Angry

    I need help with a probably very simple thing. I never made anything with VB and I created a form where after clicking a button, the form will be send immediately to a recipient via intranet. The will be two buttons with different recipients. I made a code which sends an empty email to the recipient, but is has to be the form, not an empty message. And the other problem is, that it works only in the vb-editor, not after clicking the button.

    Sub cmdaufnahme_click()
    Dim ObjNachricht As MailItem
    Set ObjNachricht = Application.CreateItem(olMailItem)

    With ObjNachricht
    .Subject = "Verlegung-Entlassung"
    .Recipients.Add "Pforte"
    .Body = currentform
    .Display

    .Send

    End With
    End Sub

    I would be very pleased for any help! Thank you!
    Verena

  2. #2

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Posts
    4

    Lightbulb outlook 2000

    I forgot: I designed the form in outlook 2000 which shall also be the mailing programm, if this is important for the code...

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