Company property

Microsoft Visio Developer Reference

Company property

   Example   

Returns or sets the value of the Company field in a document's properties.

Version added

5.0

Syntax

strRet = object.Company
object.Company = stringExpression

strRet

String. The current value of the field.

object

Required. An expression that returns a Document object.

stringExpression

Required String. The new value of the field.

Remarks

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