Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old February 8th, 2008, 04:56 AM
Registered User
 
Join Date: Feb 2008
Location: Chennai, TN, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Macro to send an email with an attachment in it

Hi people,

I want to send an email using a macro in excel.The email will also have a report in excel format as an attachment. Can anybody help me out??


Thanks in advance.

Samputha

Reply With Quote
  #2 (permalink)  
Old August 13th, 2009, 07:18 AM
Registered User
 
Join Date: Dec 2008
Location: India
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can u tell me attachment as a workbook or worksheet?
Reply With Quote
  #3 (permalink)  
Old August 13th, 2009, 09:12 PM
Friend of Wrox
Points: 3,060, Level: 23
Points: 3,060, Level: 23 Points: 3,060, Level: 23 Points: 3,060, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2005
Location: , , .
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Quote:
Originally Posted by samputha View Post
Hi people,

I want to send an email using a macro in excel.The email will also have a report in excel format as an attachment. Can anybody help me out??


Thanks in advance.

Samputha
Here is a hint using Outlook VBA

http://vbadud.blogspot.com/2007/10/a...ng-visual.html

If you want to send the workbook using default mail system, you can use WorkbookObject.SendMail

Cheers
Shasur
__________________
C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips & Tricks (http://www.vbadud.blogspot.com)
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using vb6 to send email with attachment LeonMK Pro VB 6 3 August 25th, 2011 01:56 AM
Excel Macro - Send Email and Attachments robmill101 Excel VBA 1 October 21st, 2008 08:10 AM
how to send email with attachment using JSP kirtesh4u J2EE 0 May 19th, 2007 01:17 AM



All times are GMT -4. The time now is 09:05 AM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.