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 Questions on Ron de Bruin's Excel Email Macro

Hello,

Ive been reading through the posts and have questions on Ron de Bruin's
Formulas.

1. Can the macro set a default read-receipt, delivery-receipt, high
priority, & create sent copies in outlook?
- I like to keep records of all sent email and the formula as-is is useless
for tracking purposes.

2. How do you implement GetBoiler in the formula to add background &
signature image in the email?

3. How do you incorporate a cell value in the middle of normal text for the
signature & body of an email.
Example: I have [A3] apples.

Below is the Macro that works on a basic attachment level without signature,
background, special email settings.

----------------------------------------------------------------------
Sub P2_Email()
' Don't forget to copy the function GetBoiler in the module.
' Working in Office 2000-2007
Dim OutApp As Object
Dim OutMail As Object
Dim strbody As String
Dim SigString As String
Dim Signature As String

Set OutApp = CreateObject("Outlook.Application")
OutApp.Session.Logon
Set OutMail = OutApp.CreateItem(0)

strbody = "Hello NAME," & vbNewLine & vbNewLine & _
("A1") & vbNewLine & "is a P-2 Ticket"
Signature = "C:\Documents and Settings\" & Environ("rmm") & _
"\Application Data\Microsoft\Signatures\rm.htm"
On Error Resume Next
With OutMail
.To = ""
.CC = ""
.BCC = ""
.Subject = Sheets("Template").Range("AO13")
.HTMLBody = strbody & "<br<br" & Signature
.Attachments.Add ActiveWorkbook.FullName
.Display
End With

On Error GoTo 0
Set OutMail = Nothing
Set OutApp = Nothing
End Sub

 
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
Ron de Bruin's Google Add-in 6.01 BEEJAY Excel Discussion (Misc queries) 4 October 6th 08 10:34 PM
Ron de Bruin's Calendar shapiro Excel Discussion (Misc queries) 3 April 6th 07 02:46 PM
Ron de Bruin's Calendar shapiro Excel Discussion (Misc queries) 0 April 6th 07 03:06 AM
where to ask questions about Macro usage in Excel Khoshravan New Users to Excel 1 May 11th 06 11:38 AM
CDO email questions Paul Mac[_2_] Excel Programming 0 November 24th 03 05:49 AM


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