MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.
Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.
Dim olkApp As Object Dim strSubject As String Dim strTo As String Dim strBody As String Dim strAtt As String ActiveDocument.Save strSubject = "Plant 2 Downtime document" strBody = "Please see attached File" ' strTo = "email@example.com" strTo = "firstname.lastname@example.org" If ActiveDocument.FullName = "" Then MsgBox "activedocument not saved, exiting" Exit Sub Else If ActiveDocument.Saved = False Then If MsgBox("Activedocument NOT saved, Proceed?", vbYesNo, "Error") <> vbYes Then Exit Sub End If End If strAtt = ActiveDocument.FullName Set olkApp = CreateObject("outlook.application") With olkApp.createitem(0) .to = strTo .Subject = strSubject .body = strBody .attachments.Add strAtt .send '.Display End With Set olkApp = Nothing
|How do I force new pages for each chapter in a MS Word "directory" merge?||8||49|
|Winword doc from template - use the template for multiple pages||3||45|
|select parts of text in a word doc OLE an pass it to another OLE field||2||44|
|Word if statement for the calendar activex on a docm word 2010 document||5||21|