set document title

E

Eric

I am looking for a way to use VB automation to reset the title of a
document. i.e. File-->Properties-->Summary-->Title

I can't find any properties or methods related to this. Is it possible?

Thanks.
 
D

Doug Robbins

ActiveDocument.BuiltInDocumentProperties(wdPropertyTitle) = "New Title"


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
E

Eric

Excellent. Thanks.

Doug Robbins said:
ActiveDocument.BuiltInDocumentProperties(wdPropertyTitle) = "New Title"


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top