Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 50
Default Sri NEED HELP - AUTO MAILING THE FILE WHILE CLOSING

Dear Friends,

I want to know how to send the current working excel file using Microsoft
Outlook or some other means as an attachment to my email id automatically
whenever the file is being Closed.

Kindly let me know how to achieve this using excel macros.

Thanks and Regards,
Sriram Subramaniyan
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 276
Default Sri NEED HELP - AUTO MAILING THE FILE WHILE CLOSING

If you use MS Outlook you will ALWAYS get a Security Warning to prompt you
to click ALLOW before sending.

If you use Outlook Express you can Disable the Security Warning.

Set up a Button on your worksheet to save then email then Close or Exit
application.
http://www.vba-programmer.com/Snippe...o_Dialogs.html http://www.rondebruin.nl/mail/folder1/mail1.htmRegardsCorey"Sriram" wrote in ... Dear Friends, I want to know how to send the current working excel file using Microsoft Outlook or some other means as an attachment to my email id automatically whenever the file is being Closed. Kindly let me know how to achieve this using excel macros. Thanks and Regards, Sriram Subramaniyan

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Sri NEED HELP - AUTO MAILING THE FILE WHILE CLOSING

Hi Sriram

You can use CDO to avoid the warning
See
http://www.rondebruin.nl/mail/prevent.htm

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



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



"Sriram" wrote in message ...
Dear Friends,

I want to know how to send the current working excel file using Microsoft
Outlook or some other means as an attachment to my email id automatically
whenever the file is being Closed.

Kindly let me know how to achieve this using excel macros.

Thanks and Regards,
Sriram Subramaniyan



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
auto saving & closing file prtcorvette Excel Worksheet Functions 1 May 21st 08 10:06 PM
Auto running a macro on closing Jimmy D Excel Discussion (Misc queries) 6 November 22nd 07 01:58 AM
Help with auto macro on closing mr_teacher Excel Discussion (Misc queries) 3 May 17th 06 01:07 PM
Auto Save on closing AJM1949 Excel Discussion (Misc queries) 3 September 21st 05 10:03 AM
auto closing a work book myssieh Excel Programming 1 August 25th 05 05:19 PM


All times are GMT +1. The time now is 09:46 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"