VB.NET / OFFICE 2003
Within my vb.net application, I'm trying to access the subject property of a word document. The code fails because (wdpropertysubject) has not been declared. Since "BuiltInDocumentProperties" is an object, and "wdpropertysubject" is a property of the object, where & why do I need to declare (wdpropertysubject)??
Dim subj As String = ThisDocument.BuiltInDocumentProperties(wdpropertysubject)---"Name(wdpropertysubject)is not declared"
cramd
Within my vb.net application, I'm trying to access the subject property of a word document. The code fails because (wdpropertysubject) has not been declared. Since "BuiltInDocumentProperties" is an object, and "wdpropertysubject" is a property of the object, where & why do I need to declare (wdpropertysubject)??
Dim subj As String = ThisDocument.BuiltInDocumentProperties(wdpropertysubject)---"Name(wdpropertysubject)is not declared"
cramd