Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Microsoft Word document information panel question

Posted on 2012-12-20
3
Medium Priority
?
1,011 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 765 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Lync meeting or Lync conferencing is what many organizations would like to deploy to allow them save money. But companies are now giving up for various reasons, one of which is that they cannot join external meetings (non-federated company meetings)…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …

604 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