View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Uwe Tiedje Uwe Tiedje is offline
external usenet poster
 
Posts: 2
Default E-Mail Defaultdaten ergänzen

Ron,

thanks for pushing me to the right side of the road...
Let me try to explain my wishes in English:

I'm setting up an application for quality insurance.
We are sending by e-mail planning data as a forecast in a workbook and
expecting production data via return mail using the same workbook.
To make things as easy as posible we have placed a pushbutton on the
sheet and in a first step succeeded to open Outlook Express (or hopefully
another mail program too) using the following code:

Private Sub CommandButton1_Click()
Application.Dialogs(xlDialogSendMail).Show
End Sub

What do we expect in a next step?:
1. We need to be independent from the clients mail program.
2. We want to add a default "To:" address.
3. The attachment has to go separately, NOT as part of the body.
4. The body text might come from a predefined text file.

I need to say that the application is being written in PARADOX (the
application)
and I'm a newcomer to VB.

Any hint appreciated

Uwe


"Ron de Bruin" schrieb im Newsbeitrag
...
This is a English group, please use the German newsgroup next time

Look here for a possible answer
http://www.rondebruin.nl/sendmail.htm


--
Regards Ron de Bruin
http://www.rondebruin.nl



"Uwe Tiedje" wrote in message
...
Hallo,

ich benötige mal etwas Hilfe für folgende Aufgabe:
Im Rahmen eines Projektes zur Qualitätssicherung senden wir
eine Arbeitsmappe <Auftrag.xls mit Produktionsvorgaben per E-Mail.
Der Produktionsbetrieb ergänzt mit seinen Produktionsdaten die
Arbeitsmappe
und soll diese dann mit Klick auf einen Mailbutton (aus der Mappe heraus)
zurückmailen.
Und zwar als Attachment.
Dazu ist bereits ein Button vorgesehen mit dem Code:

Private Sub CommandButton1_Click()
Application.Dialogs(xlDialogSendMail).Show
End Sub

Damit startet das Mailpprogramm mit der Arbeitsmappe als Attachment.
Aber wir möchten den Komfort noch verbessern.

Daher hier meine Frage:
Kann man bereits an das Mailprogramm Daten übergeben?
1. Den Default-Empfänger
2. Eine Betreffzeile
3. Den Bodytext, evtl. aus einer editierbaren Textdatei.

Freue mich auf eine Antwort.

Uwe