Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default To send a e-mail via Outlook which triggered by excel

I want to automatic the process that when I finish my daily routing of excel
VBA and it can be auto-triggerd the Outlook to send an email with this excel
file as an attachment
--
Johnosn
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default To send a e-mail via Outlook which triggered by excel

Hi Johnson

See
http://www.rondebruin.nl/sendmail.htm

You can use a event to run the macro
See this page
http://www.cpearson.com/excel/events.htm


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


"Johnson" wrote in message ...
I want to automatic the process that when I finish my daily routing of excel
VBA and it can be auto-triggerd the Outlook to send an email with this excel
file as an attachment
--
Johnosn

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default To send a e-mail via Outlook which triggered by excel

First of all, Thanks for your instructions, that I can send an e-mail
triggered from excel macro, but, when the macro is being exectued at the VBA
code as shown as below,
With olmail
....
.send ' when conducting to here, a dialoque box popped up.
end with
there's a dialoque box popped up and told ma that the sending task is being
conducted by a program on behalf of me, and waiting for me till the choice of
Yes/No was select. My problem is how can I disable the dialoque box and then
sending the mail directly, I would like this task was done with 100%
automation. Please help me. Thanks!

Johnson

Ron de Bruin" wrote:

Hi Johnson

See
http://www.rondebruin.nl/sendmail.htm

You can use a event to run the macro
See this page
http://www.cpearson.com/excel/events.htm


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


"Johnson" wrote in message ...
I want to automatic the process that when I finish my daily routing of excel
VBA and it can be auto-triggerd the Outlook to send an email with this excel
file as an attachment
--
Johnosn


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default To send a e-mail via Outlook which triggered by excel

See this page
http://www.rondebruin.nl/mail/prevent.htm

--

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



"Johnson" wrote in message
...
First of all, Thanks for your instructions, that I can send an e-mail
triggered from excel macro, but, when the macro is being exectued at the
VBA
code as shown as below,
With olmail
....
.send ' when conducting to here, a dialoque box popped up.
end with
there's a dialoque box popped up and told ma that the sending task is
being
conducted by a program on behalf of me, and waiting for me till the choice
of
Yes/No was select. My problem is how can I disable the dialoque box and
then
sending the mail directly, I would like this task was done with 100%
automation. Please help me. Thanks!

Johnson

Ron de Bruin" wrote:

Hi Johnson

See
http://www.rondebruin.nl/sendmail.htm

You can use a event to run the macro
See this page
http://www.cpearson.com/excel/events.htm


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


"Johnson" wrote in message
...
I want to automatic the process that when I finish my daily routing of
excel
VBA and it can be auto-triggerd the Outlook to send an email with this
excel
file as an attachment
--
Johnosn



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default To send a e-mail via Outlook which triggered by excel

Ron - I am using your site listed below to automatically send an email when a
cell reaches a certain number. I have tested the "cell is a formula" code in
a blank workbook by simply summing a column of 1's. It works great right up
until I make the manually typed 1's become a formula themselves - like an if
statement to say 1 or 0 depending on something in another column. After
doing this, the macro to call the email macro will not run. I do not know
VBA code that well, but I've gotten by with things like you offer (the cut
and paste it method) and things have worked out pretty well. Is the macro not
working when the formula cell itself is summing other cells that are also
formulas?

JenP

"Ron de Bruin" wrote:

Hi Johnson

See
http://www.rondebruin.nl/sendmail.htm

You can use a event to run the macro
See this page
http://www.cpearson.com/excel/events.htm


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


"Johnson" wrote in message ...
I want to automatic the process that when I finish my daily routing of excel
VBA and it can be auto-triggerd the Outlook to send an email with this excel
file as an attachment
--
Johnosn




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default To send a e-mail via Outlook which triggered by excel

Ron - I apologize - I need to add on my last email that my 1's are
calculating from data from an MS QUERY....it seems like when the query is in
the spreadsheet this VBA code does not want to work? Any help would be
greatly appreciated.

JenP

"Ron de Bruin" wrote:

Hi Johnson

See
http://www.rondebruin.nl/sendmail.htm

You can use a event to run the macro
See this page
http://www.cpearson.com/excel/events.htm


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


"Johnson" wrote in message ...
I want to automatic the process that when I finish my daily routing of excel
VBA and it can be auto-triggerd the Outlook to send an email with this excel
file as an attachment
--
Johnosn


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
send mail from excel 2000 and Outlook Express ...Patrick[_7_] Excel Programming 5 December 9th 06 04:28 PM
Need to send Outlook E-mail from Excel VBA without warnings. Prz59 Excel Programming 3 October 31st 05 10:19 PM
How can I use Outlook express to send mail rather than Outlook by VBA code new.microsoft.com Excel Programming 5 August 3rd 05 03:45 PM
Help for Send Mail via Outlook new.microsoft.com Excel Programming 5 August 2nd 05 01:00 AM
How can I use Outlook express to send mail rather than Outlook by VBA code new.microsoft.com Excel Programming 1 August 1st 05 12:45 PM


All times are GMT +1. The time now is 04:05 AM.

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

About Us

"It's about Microsoft Excel"