LetterContent.SenderCompany property (Word)
Returns or sets the company name of the person creating a letter with the Letter Wizard. Read/write String.
Syntax
expression. SenderCompany
expression An expression that returns a 'LetterContent' object.
Example
This example retrieves the Letter Wizard elements from the active document. If the sender's company name isn't blank, the example displays the text in a message box.
If ActiveDocument.GetLetterContent.SenderCompany <> "" Then
MsgBox ActiveDocument.GetLetterContent.SenderCompany
End If
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for