Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default how to write excel in macros through which mail has to be sent via outlook

Hi,

I am not good with macros, i would like to see few examples which can
generate e-mails from excel.

i have to send the status report to various persons

Please help

Thanks
Sam

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 510
Default how to write excel in macros through which mail has to be sent via outlook

Hi Sam,

Take a look at the excellent site Ron has put together:
http://www.rondebruin.nl

HTH
Carim

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default how to write excel in macros through which mail has to be sent via outlook

Hi Sam,

Look he

http://www.rondebruin.nl/mail/add-in.htm

--
Kind regards,

Niek Otten

"sam" wrote in message oups.com...
Hi,

I am not good with macros, i would like to see few examples which can
generate e-mails from excel.

i have to send the status report to various persons

Please help

Thanks
Sam



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default how to write excel in macros through which mail has to be sent via outlook

Hi Carim,

I went in to the site, but few functions were not working in my system.

Ex: Dim OutApp As Outlook.Application
Dim OutMail As Outlook.MailItem

How do i proceed?

Thanks
Sunil

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 510
Default how to write excel in macros through which mail has to be sent via outlook

Sunil,

Once you are in VB ( Alt F11 command ), in the menu Tools Reference,
you will have to tick off the appropriate library ...
in your case, it should be Microsoft Outlook Object x.xx Library

HTH
Cheers
Carim



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default how to write excel in macros through which mail has to be sent

go to the VBE, Alt+F11, then go to tools-References and find Microsoft
Outlook in the listing. Click the checkbox to create a reference to it.
Then Excel will understand those declarations.

--
Regards,
Tom Ogilvy


"sam" wrote:

Hi Carim,

I went in to the site, but few functions were not working in my system.

Ex: Dim OutApp As Outlook.Application
Dim OutMail As Outlook.MailItem

How do i proceed?

Thanks
Sunil


  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default how to write excel in macros through which mail has to be sent via outlook

Hi Carim,

It's already been ticked off, the library name is

microsoft outlook 10.0 object library

Thank You,
Sam

  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default how to write excel in macros through which mail has to be sent via outlook

Hi Niek,

Yeah! the addin is useful, but still i would like to learn the macros

Hope you will help me out...

Cheers
Sam

  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default how to write excel in macros through which mail has to be sent via outlook

Please read the information above the macro examples

1) Go to the VBA editor, Alt -F11
2) ToolsReferences in the Menu bar
3) Place a Checkmark before Microsoft Outlook ? Object Library
? is the Excel version number


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


"sam" wrote in message oups.com...
Hi Carim,

I went in to the site, but few functions were not working in my system.

Ex: Dim OutApp As Outlook.Application
Dim OutMail As Outlook.MailItem

How do i proceed?

Thanks
Sunil



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
e-mail from excel when outlook is not in use Jignesh Khandwala Excel Discussion (Misc queries) 5 April 7th 06 09:52 AM
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
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
Display mail application either in Outlook, or Outlook express [email protected] Excel Programming 0 April 13th 04 09:50 PM
e-mail macros: MS Outlook John[_63_] Excel Programming 1 October 17th 03 11:30 AM


All times are GMT +1. The time now is 03:18 PM.

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"