Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / September 2005

Tip: Looking for answers? Try searching our database.

Retrieve Custom Property

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rgoubet@yahoo.fr - 07 Sep 2005 13:56 GMT
I'm trying to figure out how to retrieve the value of a specific custom
property of a document. I know how to retrieve a built-in property:

myTitle = ActiveDocument.BuiltInDocumentProperties(wdPropertyTitle)

Now, how do I do for CustomDocumentProperties where I don't know the
index value of the custom property I'm looking for (e.g., "Document
Number").

Thanks

Raph
Jean-Guy Marcil - 07 Sep 2005 14:08 GMT
rgoubet@yahoo.fr was telling us:
rgoubet@yahoo.fr nous racontait que :

> I'm trying to figure out how to retrieve the value of a specific
> custom property of a document. I know how to retrieve a built-in
[quoted text clipped - 9 lines]
>
> Raph

Dim myNumber  As String
myNumber = ActiveDocument.CustomDocumentProperties("Document Number")

Signature

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org 

rgoubet@yahoo.fr - 09 Sep 2005 13:37 GMT
OK, obvious enough!

Now how silly do I look? :-)

Raph
Jean-Guy Marcil - 09 Sep 2005 22:59 GMT
rgoubet@yahoo.fr was telling us:
rgoubet@yahoo.fr nous racontait que :

> OK, obvious enough!
>
> Now how silly do I look? :-)

LOL

Don't worry, we've all been there!

Signature

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org 

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.