Workbook.EnvelopeVisible property (Excel)
True if the email composition header and the envelope toolbar are both visible. Read/write Boolean.
expression A variable that represents a Workbook object.
This example checks to see whether the email composition header and the envelope toolbar are visible in the first workbook. If they are visible, the example then sets the variable
strSubject to the text of the email subject line.
If Workbooks(1).EnvelopeVisible = True Then strSubject = "Please read: Review immediately" End If
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.