Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Sendmail not working when computer is locked

Hi,

I'm trying to make a procedure which will automatically email the
active workbook using the following code.

ActiveWorkbook.SendMail Recipients:=oReceiver, Subject:=oSubject

Application.Wait (Now + TimeValue("0:00:03"))
Application.SendKeys "%1"


The procedure works perfectly except when the computer is locked (using
Ctrl+alt+del). In this case the email is created but not sent.

I am using Lotus Notes

Thanks in advance for any help.

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
Can you run a macro while your computer is locked? dorn Excel Discussion (Misc queries) 1 November 8th 08 02:20 AM
DB not working on other computer lyndac New Users to Excel 1 July 16th 05 08:45 PM
SendMail Function in Excel 2003 not working properly JonPar Excel Programming 3 June 30th 05 01:46 PM
Excel SendMail Not working in XP Office 2003 Dannyboy1001 Excel Programming 5 February 3rd 05 04:23 AM
Maskerr function not working on my new computer - help? Russo Excel Worksheet Functions 1 November 30th 04 11:03 PM


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