Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default 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   Report Post  
Posted to microsoft.public.excel.programming
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





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
mail merge multiple lines in an e-mail Guy[_2_] Excel Discussion (Misc queries) 1 December 1st 09 08:32 PM
How do I do an e-mail mail merge using an Excel spreadsheet? Gretchen Excel Worksheet Functions 0 July 19th 09 05:18 PM
E-mail to every e-mail address in an Excel column? MrMan&Fam Excel Discussion (Misc queries) 24 July 19th 06 09:35 AM
Error: cannot load the mail service. Check your mail installation. Brad Bowser Excel Discussion (Misc queries) 0 December 20th 05 10:03 PM
General mail failure when sending e-mail from Excel Adrienne Excel Discussion (Misc queries) 5 November 4th 05 12:59 PM


All times are GMT +1. The time now is 02:39 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"