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: 237
Default Emailing Sheets

Below is part of a code I am using to send sheets to
specified email addresses using Outlook2000. Everything
works great accept when it goes to email the sheets this
little box pops up with a status bar saying "A program is
trying to automatically send e-mail on your behalf. Do
you want to allow this?" I have to wait until the blue
status bar gets to 100% and then I can click YES or NO. I
dont want this box to pop up at all. Is there a way to
send these emails without this popup box asking me if I
want to allow this?


With olmail
.To = cell.Offset(0, 1).Value
.Subject = "Your Stats"
.Body = "Here are your stats, " & cell.Value
.Attachments.Add wb.Path & "\" & wb.Name
.Display
.Send
End With


Thank you.
 
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
Emailing individual sheets in workbooks on Office 2007 nmolloysukiwt Excel Discussion (Misc queries) 1 September 8th 08 05:36 PM
Emailing lsherman22 Excel Discussion (Misc queries) 0 January 12th 06 07:35 PM
hide unnecessary sheets when emailing to others snow Excel Worksheet Functions 5 December 17th 05 01:46 AM
Emailing using VBA steve Excel Programming 3 September 23rd 03 06:39 PM
Emailing in VBA Steven Cheng[_2_] Excel Programming 2 July 25th 03 11:27 PM


All times are GMT +1. The time now is 07:06 PM.

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"