LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default MailEnvelope

I'm having some problems with sending an e-mail using VBA in Excel.
- I only want to send some text as the e-mail message but in addition to the
text the entire worksheet is being sent.
- Even though the e-mail message is sent automatically, my Excel application
shows the E-mail header with the To, CC, Subject, and Introduction fields and
a toolbar where I can push the Send This Sheet button. I can't cancel this
(because there is no Don't Send This Sheet button) and if I push the Send
This Sheet button then it sends a second copy of the message.
- My code sends several different e-mails to different recipients by looping
through all the rows in the worksheet until all desired e-mails have been
sent (each row of the worksheet contains the required information like the To
and Subject etc for 1 e-mail message). But while the first e-mail is being
sent, the loop continues executing (ie, it doesn't pause until the first
e-mail is sent) and so when I try to execute the command
ActiveCell.Offset(1,0).Select I get an error because Excel doesn't have the
focus (the e-mail message has the focus) and so the ActiveCell isn't
understood.
I'd appreciate any suggestions.
Thanks
 
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
Mailenvelope Gives Error to Only One User roadkill Excel Programming 1 April 13th 07 02:51 PM
using MailEnvelope [email protected] Excel Programming 0 March 7th 07 09:20 PM
Emailing a Filtered Range w/ MailEnvelope roadkill Excel Programming 1 July 25th 06 05:01 PM
MailEnvelope John Excel Programming 0 June 8th 06 08:07 PM
using MailEnvelope keepitcool Excel Programming 0 July 28th 03 09:51 PM


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