Hey guys, i want to set my macro to always send an email with the SAME signature. For example, the default signature is "rito@bra.com", then, if Paul runs the macro and sends the email on his outlook account, the signature will be "rito@bra.com", and not his signature. Here is the code:
How can i do this? Is there a way to set the path?![]()
Sub email() Dim OApp As Object, OMail As Object, signature As String Set OApp = CreateObject("Outlook.Application") Set OMail = OApp.CreateItem(0) With OMail .Display End With signature = OMail.HTMLBody With OMail '.To = "someone@somedomain.com" '.Subject = "Type your email subject here" '.Attachments.Add .HTMLBody = "Add body text here" & vbNewLine & signature '.Send End With Set OMail = Nothing Set OApp = Nothing End Sub
Note: Everyone has all the signatures on their machines (in outlook)
Bookmarks