Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

word property subject.....

Status
Not open for further replies.

cramd

Programmer
Mar 28, 2001
214
US
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
 
You haven't really shown your code. Which leads me to say that you are rushing to conclusions.

While awaiting for useful code from you, does wdpropertysubject appear anywhere in your code?
 
Dimandja,
It was a reference problem. Skip was able to help me out from the Word forum.
cramd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top