Writes an expression to a property. Available at design time and run time.
Syntax
Object.WriteExpression[cPropertyName, cExpression]
Arguments
cPropertyName
Specifies the name of the property to write the expression to.
cExpression
Specifies a character string that is written to the property sheet as an expression.