How do I insert values in document property fields (eg, title, subject, author from a VB/VBA program?
I know that the reverse (gettign the content of these fields into the document) is by using the DOCPROPERTY field.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » Enter Document Properties programmatically (2000, SR1a)
Apologies for replying to my own post, but I have a supplementary to this:
I think I can set custom fields with “link to content” option and create bookmarks which contain the content of the custom field.
But I want to do the same for the standard fields like Title, Subject, Author, etc.. How can I link these fields to content?
Hi,
Thanks to the second address you have given here I have been able to produce a document register showing the file name, title, last saved date and manager. I even have managed to insert a hyperlink to the file name such that by one click on the file name in the document register I can open the file. Thanks to the author!
One thing I have not been able to achieve is to show the name of the directory under which the files are stored.
Are there any solutions to that?
May be the first http address gives this possibilty.
I have earlier come across another code with this posibility though not being able to collect other than file name and last saved date.
Best regards
Bjorn Engebretsen
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.
Notifications