Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
CLR CLR is offline
external usenet poster
 
Posts: 594
Default Send email in Lotus Notes

Hi All.......
Here's a snippet of code, mostly taken from Ron de Bruin's fine
page.......it works fine for preparing to send an email in my Lotus
Notes.......it takes it right up to the point where I have to press the
Lotus Notes "Send" button to make the email go out.........I would like not
to have to do that, I want the macro to take it all the way and send the
email..........any ideas please?

TIA,
Vaya con Dios,
Chuck, CABGx3



With ActiveWorkbook
.SaveAs TempFilePath & TempFileName & FileExtStr
Dim emadd
emadd = EmailAddy
.SendMail emadd, "OOR Report for " & Date & " TEST-TEST-TEST"
.Close SaveChanges:=False
End With
Kill TempFilePath & TempFileName & FileExtStr
With Application
.ScreenUpdating = True
.EnableEvents = True
End With
Range("data!q1:y25").Copy 'This is the cover sheet text for the email
SendKeys "^v" 'Paste command
SendKeys "~" 'Return command




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 421
Default Send email in Lotus Notes

Hi Chuck,

As I have qa strong aversion to the use
of the sendkeys method, perhaps take
a look at the sample code from xlDennis
which you can locate using the link
provided by Ron at:

Links on the Internet about mailing
http://www.rondebruin.nl/mail/links.htm

It is the fourth link on that page.



---
Regards.
Norman


@tampabay.rr.com wrote in message
...
Hi All.......
Here's a snippet of code, mostly taken from Ron de Bruin's fine
page.......it works fine for preparing to send an email in my Lotus
Notes.......it takes it right up to the point where I have to press the
Lotus Notes "Send" button to make the email go out.........I would like
not
to have to do that, I want the macro to take it all the way and send the
email..........any ideas please?

TIA,
Vaya con Dios,
Chuck, CABGx3



With ActiveWorkbook
.SaveAs TempFilePath & TempFileName & FileExtStr
Dim emadd
emadd = EmailAddy
.SendMail emadd, "OOR Report for " & Date & " TEST-TEST-TEST"
.Close SaveChanges:=False
End With
Kill TempFilePath & TempFileName & FileExtStr
With Application
.ScreenUpdating = True
.EnableEvents = True
End With
Range("data!q1:y25").Copy 'This is the cover sheet text for the email
SendKeys "^v" 'Paste command
SendKeys "~" 'Return command





  #3   Report Post  
Posted to microsoft.public.excel.programming
CLR CLR is offline
external usenet poster
 
Posts: 594
Default Send email in Lotus Notes

Looks like good stuff there Norman, thanks. I'm on my way to work now, and
will dig through it all when I get there.

Thanks again,
Vaya con Dios,
Chuck, CABGx3





"Norman Jones" wrote in message
...
Hi Chuck,

As I have qa strong aversion to the use
of the sendkeys method, perhaps take
a look at the sample code from xlDennis
which you can locate using the link
provided by Ron at:

Links on the Internet about mailing
http://www.rondebruin.nl/mail/links.htm

It is the fourth link on that page.



---
Regards.
Norman


@tampabay.rr.com wrote in message
...
Hi All.......
Here's a snippet of code, mostly taken from Ron de Bruin's fine
page.......it works fine for preparing to send an email in my Lotus
Notes.......it takes it right up to the point where I have to press the
Lotus Notes "Send" button to make the email go out.........I would like
not
to have to do that, I want the macro to take it all the way and send the
email..........any ideas please?

TIA,
Vaya con Dios,
Chuck, CABGx3



With ActiveWorkbook
.SaveAs TempFilePath & TempFileName & FileExtStr
Dim emadd
emadd = EmailAddy
.SendMail emadd, "OOR Report for " & Date & " TEST-TEST-TEST"
.Close SaveChanges:=False
End With
Kill TempFilePath & TempFileName & FileExtStr
With Application
.ScreenUpdating = True
.EnableEvents = True
End With
Range("data!q1:y25").Copy 'This is the cover sheet text for the email
SendKeys "^v" 'Paste command
SendKeys "~" 'Return command







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
How do I send an Excel workbook through Lotus Notes Email? Valerie Excel Discussion (Misc queries) 1 May 3rd 08 04:51 PM
send the data to lotus notes by email Ming[_2_] Excel Programming 1 June 20th 07 12:31 PM
Macro to send email through Lotus Notes PCLIVE Excel Programming 7 June 29th 06 09:30 PM
Excel VBA to send email using Lotus Notes Nirmal Singh Excel Programming 3 April 28th 05 11:15 PM
Send email with Lotus Notes Simon Excel Programming 1 May 6th 04 04:56 AM


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