Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Send to function

You seem to be going in the wrong direction. Check out this page for a mass
of information on emailing from excel.

http://www.rondebruin.nl/sendmail.htm

--
Regards,
Tom Ogilvy


"MikeFullam" wrote in message
...
I have got the following code, but I am unable to automatically populate
the
"To" area of the send to drop down box. Does any on know where I am going
wrong.

Option Explicit

Sub SendSheet()
Dim objOutlook As Outlook.Application
Dim objOutlookRecip As Outlook.Recipient
Dim Address
Set Address = Range("address") 'range containing enail address for
distribution
With Application
.ScreenUpdating = False
On Error Resume Next
ActiveWorkbook.EnvelopeVisible = True
With .CommandBars("Send To")
Set objOutlookRecip = Address
'Set objOutlookRecip = ")
.Controls.Add Type:=msoControlButton, ID:=3708
With .Controls("Send Now")
.Execute
.Delete
End With
End With
.ScreenUpdating = True
End With
End Sub

All comments greatly received.

Thanks

Mike




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
Bypass: A program is trying to send mail using Item.Send prompt Vick Excel Discussion (Misc queries) 1 June 25th 09 03:31 AM
?? Send function not available for Lotus Notes Jaylin Excel Discussion (Misc queries) 0 October 12th 07 01:36 AM
SaveAs function and Send mail in VBA [email protected] Excel Programming 2 August 8th 06 11:12 AM
Send to function... minute44 Excel Discussion (Misc queries) 0 June 12th 06 11:46 AM
Excel Send To function problem kysiow Excel Discussion (Misc queries) 1 December 10th 04 01:37 AM


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