Solved

Microsoft Word document information panel question

Posted on 2012-12-20
3
974 Views
Last Modified: 2013-02-13
I have a word document with the document information panel showing when it opens. I can open it, close it, and edit the meta-data. I would like to programmatically update the document panel if I could such as as the individual fields
0
Comment
Question by:js_sts
  • 2
3 Comments
 
LVL 59

Expert Comment

by:Chris Bottomley
ID: 38711888
Which data do you want to edit as the syntax varies according to the particular datum class, (document property, custom property etc)

Chris
0
 
LVL 59

Accepted Solution

by:
Chris Bottomley earned 255 total points
ID: 38739144
In the abscence of a response then to enable the question closure:

To display/remove the panel:
    Application.DisplayDocumentInformationPanel = True 'False

To Add Read a custom document property:
    Read
        myVar = activedocument.CustomDocumentProperties("WhatYouWantToCallTheField").value
    Set
        activedocument.CustomDocumentProperties.Add _
    Name:="WhatYouWantToCallTheField", LinkToContent:=False, Value:="What value you want the field to have", _
    Type:=msoPropertyTypeString

To set / read a builtindocumentproperty
    Set
        activedocument.BuiltInDocumentProperties("Author") = "ChrisB"
    Read
        myVar = activedocument.BuiltInDocumentProperties("Author").value

Chris
0
 

Author Comment

by:js_sts
ID: 38752730
sorry guys....got lost for the holidays. Let me try chris' suggestion and revert back.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I would like to show you some basics you can do with Mailings in MS Word. It´s quite handy feature you can use for creating envelopes, labels, personalized letters etc. First question could be what is this feature good for? Mailing can really he…
Shortcuts in Word Just the other day I had a training for Microsoft and they wanted me to show how well the new Windows and Office behaved on a touch device, which by the way is great, but it was only then that I realized that using keyboard shortc…
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now