Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / May 2008

Tip: Looking for answers? Try searching our database.

Send email in Lotus Notes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
CLR - 29 May 2008 01:18 GMT
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
Norman Jones - 29 May 2008 02:41 GMT
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
news:%230rvCFSwIHA.2028@TK2MSFTNGP05.phx.gbl...
> Hi All.......
> Here's a snippet of code, mostly taken from Ron de Bruin's fine
[quoted text clipped - 24 lines]
>    SendKeys "^v" 'Paste command
>    SendKeys "~"  'Return command
CLR - 29 May 2008 11:09 GMT
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

> Hi Chuck,
>
[quoted text clipped - 43 lines]
> >    SendKeys "^v" 'Paste command
> >    SendKeys "~"  'Return command
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.