Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Emailing my spreadsheet?

Hi,

I was wondering how I go about emailing my spreadsheet at the end of m
macro...

Basically, someone has to open outlook, do a new message and the
attach todays file using windows explorer to find it.
They also enter a TO address and then press send.

Is there a way to email it directly as part of the macro?

If so it would cut out the manual part at the end of my macro.

Any examples of code would be appreciated.

Thanks in advance

And

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default Emailing my spreadsheet?

visit http://www.rondebruin.nl

my fellow countryman is the definite source on emailing from excel.

btw: !!! THANX to the CZECHS !!!!
we owe you one
H O L L A N D


keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool


andycharger wrote:

Hi,

I was wondering how I go about emailing my spreadsheet at the end of

my
macro...

Basically, someone has to open outlook, do a new message and then
attach todays file using windows explorer to find it.
They also enter a TO address and then press send.

Is there a way to email it directly as part of the macro?

If so it would cut out the manual part at the end of my macro.

Any examples of code would be appreciated.

Thanks in advance

Andy


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Emailing my spreadsheet?

Thanks.
However, I notice that the system asks a lot of questions such a
choose your email client, etc....

Is there a way to just send the email automatically without huma
intervention?

I have used application.displayalerts = false before but not sure i
this is enough for emailing.


Code
-------------------

Sub Mail_workbook_1()
ActiveWorkbook.SendMail ", _
"subject goes here"
End Sub

-------------------


--
Message posted from http://www.ExcelForum.com

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Emailing my spreadsheet?

Look here Andy
http://www.rondebruin.nl/mail/prevent.htm


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


"andycharger " wrote in message ...
Thanks.
However, I notice that the system asks a lot of questions such as
choose your email client, etc....

Is there a way to just send the email automatically without human
intervention?

I have used application.displayalerts = false before but not sure if
this is enough for emailing.


Code:
--------------------

Sub Mail_workbook_1()
ActiveWorkbook.SendMail ", _
"subject goes here"
End Sub

--------------------



---
Message posted from http://www.ExcelForum.com/



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
emailing spreadsheet Kathy Excel Discussion (Misc queries) 0 July 29th 08 01:56 PM
emailing from existing spreadsheet ACE@MV Excel Discussion (Misc queries) 3 June 26th 06 06:40 PM
Emailing a spreadsheet Chip Smith Excel Discussion (Misc queries) 1 June 7th 06 07:55 PM
Emailing a form from a spreadsheet daiblackburn Links and Linking in Excel 0 June 7th 05 08:11 AM
emailing Spreadsheet? scott[_7_] Excel Programming 3 October 23rd 03 06:22 PM


All times are GMT +1. The time now is 02:50 AM.

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"