E-Mail Defaultdaten ergänzen

U

Uwe Tiedje

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
 
U

Uwe Tiedje

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top