

Set xReadStream = xFSO.OpenTextFile(xFilePath) & vbCrLf & xMailRTFText & vbCrLf & Mid(xMeetingRTFText, xPos, Len(xMeetingRTFText) - xPos + 1) XPos = InStrRev(xMeetingRTFText, "\htmlrtf0" _ XMeetingRTFText = StrConv(xMeetingItem.RTFBody, vbUnicode) XMailRTFText = StrConv(xMailItem.RTFBody, vbUnicode) XSignText = Replace(xSignText, xFldName, xFldPath) Set xSignStream = xFSO.OpenTextFile(xSignFile.Path) If xFSO.GetExtensionName(xSignFile.Path) = "htm" Then XSignPath = CStr(Environ("USERPROFILE")) & "\AppData\Roaming\Microsoft\Signatures\"įor Each xSignSubFld In xSignFld.SubFolders Set xFSO = CreateObject("scripting.FileSystemObject") VBA code: Automatically insert signature to meeting requests: Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)ĭim xSignStream, xWriteStream, xReadStream As Scripting.TextStreamĭim xSignFld, xSignSubFld As Scripting.Folderĭim xMailRTFText, xMeetingRTFText, xAllRTFText As Stringĭim xFilePath, xFldPath, xFldName As String In the Microsoft Visual Basic for Applications window, double click ThisOutlookSession from the Project1(VbaProject.OTM) pane to open the module, and then copy and paste the following code into the blank module. Hold down the ALT + F11 keys to open the Microsoft Visual Basic for Applications window.Ģ. The below VBA code also can help you to auto insert a signature to meeting requests, please do with the following steps:ġ. And the signature is inserted into the meeting body automatically, see screenshot: From now on, when you want to create a new meeting with signature, please click Home > New Items > Custom Forms, and then select the form you have created just now. And then, close the current meeting window without saving it.ħ. In the popped out Publish Form As dialog box, type a name into the Display name text box, and then click Publish button, see screenshot:Ħ.

In the new screen, click Developer > Publish > Publish Form As, see screenshot:ĥ. After inserting the signature, go on clicking Developer > Design This Form in the new Meeting window, see screenshot:Ĥ. Then click Insert > Signature, and choose a signature you want to insert, see screenshot:ģ. Please navigate to the Calendar window, and click Home > New Meeting to open the new Meeting window.Ģ. In Outlook, you can create a custom form to insert the signature to meeting requests automatically, please do as this:ġ. This article, I will talk about some useful methods to auto insert signature to Outlook meeting requests.Īutomatically insert signature to Outlook meeting requests with Custom FormĪutomatically insert signature to Outlook meeting requests with VBA code In Outlook, you can auto insert the signature to emails easily, but, if you want to insert the signature to meeting invitations automatically, there is not direct way for you to solve this task. How to automatically insert signature to Outlook meeting requests?
