Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 360
Default Sendmail and Lotus Notes trouble

Maybe it's a time thing. Try making Excel wait a few seconds between
each send.

Definitely check out Dennis' site that Ron mentioned also.

Cliff Edwards



  #2   Report Post  
Posted to microsoft.public.excel.programming
CLR CLR is offline
external usenet poster
 
Posts: 594
Default Sendmail and Lotus Notes trouble

Thanks for that idea Cliff.........how do I go about doing that?

Here's my Batch code.........the SendEmail macro works fine on a
one-shot.....this batch macro runs to get into Lotus the first time and then
never comes back so I can process the "next r" step

Sub Batchemail()
Dim lastrow As Long, r As Long
Sheets("All12").Select
Range("A12").Select
Selection.Sort Key1:=Range("Q12"), Order1:=xlAscending, Header:=xlGuess,
_
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
lastrow = Cells(Rows.Count, "Q").End(xlUp).Row
For r = lastrow To 12 Step -1
If Cells(r, "Q") = Range("DATA!k2").Value Then
Cells(r, "Q").Select
Range("ReportCard!A1").Value = Selection.Offset(0, -16).Value
Call SendEmail 'this is the email macro that works by itself ok
End If
Next r
MsgBox "ALL THROUGH!"
End Sub

TIA
Vaya con Dios,
Chuck, CABGx3




"ward376" wrote in message
...
Maybe it's a time thing. Try making Excel wait a few seconds between
each send.

Definitely check out Dennis' site that Ron mentioned also.

Cliff Edwards





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 360
Default Sendmail and Lotus Notes trouble

You can try using a line like this between sends in your sendemail
procedure...
Application.wait Now + TimeValue("00:00:03")

Sub example()
Cells.Select
Application.wait Now + TimeValue("00:00:03")
Cells(1, 1).Select
MsgBox "Done Waiting"
End Sub

Cliff Edwards
  #4   Report Post  
Posted to microsoft.public.excel.programming
CLR CLR is offline
external usenet poster
 
Posts: 594
Default Sendmail and Lotus Notes trouble

Thanks Cliff, I'll give it a shot. I only have OE5 here at home, the Lotus
Notes is at work and our Factory is closed 'till the 7th, but I will sure be
happy to have something to try when I get back......this thing has been
bugging me for several days........nobody at work likes Lotus Notes, but our
IS dept has jammed it down our throats.......

Whether it works or not to solve my problem, I appreciate your response, and
also I've learned something new.....I've wondered how to pause processing in
other apps.

Thanks much
Vaya con Dios,
Chuck, CABGx3



"ward376" wrote in message
...
You can try using a line like this between sends in your sendemail
procedure...
Application.wait Now + TimeValue("00:00:03")

Sub example()
Cells.Select
Application.wait Now + TimeValue("00:00:03")
Cells(1, 1).Select
MsgBox "Done Waiting"
End Sub

Cliff Edwards



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 360
Default Sendmail and Lotus Notes trouble

If you're going to be working with Notes and VBA definitely check out

http://excelkb.com/?cNode=1X5M7A

and

http://www.redbooks.ibm.com/abstract...5670.html?Open

Cliff Edwards
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
SendMail via Lotus Notes leerem Excel Discussion (Misc queries) 4 June 2nd 10 05:33 PM
Lotus Notes Steve Excel Discussion (Misc queries) 0 February 25th 09 08:27 PM
Sendmail and Lotus Notes trouble Ron de Bruin Excel Programming 0 June 27th 08 09:02 PM
Mail über Lotus Notes aus Excel heraus/ Sending Mail with Excel through Lotus Notes [email protected] Excel Programming 0 February 19th 07 12:11 PM
Lotus Notes Newbie Excel Programming 0 September 20th 04 01:55 PM


All times are GMT +1. The time now is 01:39 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"