ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Macro for excel & msoutlook (https://www.excelbanter.com/excel-programming/362952-macro-excel-msoutlook.html)

binod

Macro for excel & msoutlook
 

Hi,

I am able to set up a macro to send an excel attachment through
msoutlook,
however is it possible to write a macro to copy a certain range of data
from excel (eg. A1:G10) and paste it as an object in in a new mail
msoutlook and send it as email.
Please help me on this one....


--
binod
------------------------------------------------------------------------
binod's Profile: http://www.excelforum.com/member.php...o&userid=34985
View this thread: http://www.excelforum.com/showthread...hreadid=547248


Norman Jones

Macro for excel & msoutlook
 
Hi Binod,

See Ron de Bruin at:

http://www.rondebruin.nl/mail/folder2/mail4.htm


---
Regards,
Norman



"binod" wrote in
message ...

Hi,

I am able to set up a macro to send an excel attachment through
msoutlook,
however is it possible to write a macro to copy a certain range of data
from excel (eg. A1:G10) and paste it as an object in in a new mail
msoutlook and send it as email.
Please help me on this one....


--
binod
------------------------------------------------------------------------
binod's Profile:
http://www.excelforum.com/member.php...o&userid=34985
View this thread: http://www.excelforum.com/showthread...hreadid=547248




Paul Lautman

Macro for excel & msoutlook
 
binod wrote:
Hi,

I am able to set up a macro to send an excel attachment through
msoutlook,
however is it possible to write a macro to copy a certain range of
data from excel (eg. A1:G10) and paste it as an object in in a new
mail msoutlook and send it as email.
Please help me on this one....


Take a look at http://www.rondebruin.nl/sendmail.htm
If you had put "excel send mail" into Google, it would have been the first
one on the list.



binod[_2_]

Macro for excel & msoutlook
 

Thanks for the link, I am trying it now,and am now not able to add a
reference to the Microsoft outlook Library to get the macro working.


--
binod
------------------------------------------------------------------------
binod's Profile: http://www.excelforum.com/member.php...o&userid=34985
View this thread: http://www.excelforum.com/showthread...hreadid=547248


Norman Jones

Macro for excel & msoutlook
 
Hi Binod,

Thanks for the link, I am trying it now,and am now not able to add a
reference to the Microsoft outlook Library to get the macro working.



With the project active in the VBE, try:

Tools | References | scroll to and select:

Microsoft Outlook xx.x Object Library


---
Regards,
Norman




All times are GMT +1. The time now is 04:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com