Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
mail merge multiple lines in an e-mail | Excel Discussion (Misc queries) | |||
How do I do an e-mail mail merge using an Excel spreadsheet? | Excel Worksheet Functions | |||
E-mail to every e-mail address in an Excel column? | Excel Discussion (Misc queries) | |||
Error: cannot load the mail service. Check your mail installation. | Excel Discussion (Misc queries) | |||
General mail failure when sending e-mail from Excel | Excel Discussion (Misc queries) |