ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   E-Mail Defaultdaten ergänzen (https://www.excelbanter.com/excel-programming/326216-e-mail-defaultdaten-erg%E4nzen.html)

Uwe Tiedje

E-Mail Defaultdaten ergänzen
 
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



Ron de Bruin

E-Mail Defaultdaten ergänzen
 
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




Uwe Tiedje

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






Ron de Bruin

E-Mail Defaultdaten ergänzen
 
Hi

1. We need to be independent from the clients mail program.

This is very diffecult

Go test with this example to send the workbook or sheet back to you
http://www.rondebruin.nl/mail/folder1/mail1.htm
http://www.rondebruin.nl/mail/folder1/mail2.htm

This will work in Outlook and Outlook express
Body test is not possible with this

Another option is this if it is possible (body is possible then)
http://www.rondebruin.nl/cdo.htm




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



"Uwe Tiedje" wrote in message ...
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









All times are GMT +1. The time now is 12:35 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com