• Enter Document Properties programmatically (2000, SR1a)

    Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » Enter Document Properties programmatically (2000, SR1a)

    Author
    Topic
    #358895

    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.

    Viewing 1 reply thread
    Author
    Replies
    • #536578

      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?

    • #536626
      • #536716

        Thanks a heap, Chas

        The links and what I got there have opened up new possibilities thinks for me in using Word. bravo

      • #536810

        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

    Viewing 1 reply thread
    Reply To: Enter Document Properties programmatically (2000, SR1a)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: