Subject property

Subject property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

See also         Example         Applies to

Gets or sets the value of the Subject field in a document's properties.

Version added

2.0

Syntax

        
          strRet = object.Subject
      
        
          object
          .Subject = stringExpression
      

strRet

String. The current value of the field.

object

Required. An expression that returns a Document object.

stringExpression

Required String. The new value for the field.

Remarks

Setting the Subject property is equivalent to entering information in the Subject box in the Properties dialog box (click Properties on the File menu).