Jump to content
بحث مخصص من جوجل فى أوفيسنا
Custom Search

ارجو المساعدة بهذا الماكرو

Recommended Posts

السلام عليكم يا شباب

الماكرو ده بيرسل الاكسيل كاتاتش في الميل .. 

ارجو المساعدة في تعديل الماكرو فانه يختار شيتات معينة بعدين يرسلها وكمان يعدل الرسالة الي بتكتبه في الميل من حيث الخط لاني مش عارف للاسف 

وشكرا جدا ليكم 

Sub Send_Mail()
Dim Email_Subject, Email_Send_From, Email_Send_To, _
Email_Cc, Email_Bcc, Email_Body As String
Dim Mail_Object, Mail_Single As Variant
Email_Subject = "Test"
Email_Send_From = "M.fahmi2012j@outlook.com"
Email_Send_To = "M.fahmi2012j@outlook.com"
Email_Cc = "M.fahmi2012j@outlook.com"
Email_Bcc = "M.fahmi2012j@outlook.com"
Email_Body = "Test"
On Error GoTo debugs
Set Mail_Object = CreateObject("Outlook.Application")
Set Mail_Single = Mail_Object.CreateItem(0)
With Mail_Single
.Subject = Email_Subject
.To = Email_Send_To
.CC = Email_Cc
.BCC = Email_Bcc
.HTMLBody = Email_Body
End With
If Err.Description <> "" Then MsgBox Err.Description
End Sub


Test send.xlsb

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...