Results 1 to 5 of 5
  1. #1
    3 Star Lounger
    Join Date
    Mar 2001
    Location
    Pune
    Posts
    310
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Enter Document Properties programmatically (2000, SR1a)

    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.

  2. #2
    3 Star Lounger
    Join Date
    Mar 2001
    Location
    Pune
    Posts
    310
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: 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?

  3. #3
    Silver Lounger Charles Kenyon's Avatar
    Join Date
    Jan 2001
    Location
    Sun Prairie, Wisconsin, Wisconsin, USA
    Posts
    2,049
    Thanks
    124
    Thanked 119 Times in 116 Posts
    Charles Kyle Kenyon
    Madison, Wisconsin

  4. #4
    3 Star Lounger
    Join Date
    Mar 2001
    Location
    Pune
    Posts
    310
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Enter Document Properties programmatically (2000, SR1a)

    Thanks a heap, Chas

    The links and what I got there have opened up new possibilities <img src=/S/thinks.gif border=0 alt=thinks width=15 height=15> for me in using Word. <img src=/S/bravo.gif border=0 alt=bravo width=16 height=30>

  5. #5
    3 Star Lounger
    Join Date
    Jul 2001
    Location
    ASKER, Norway
    Posts
    277
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Re: Enter Document Properties programmatically (2000, SR1a)

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •