1

You can programmatically add or delete custom document properties (also called meta data) to a Microsoft Office application like Word. See this link for an example. Now, is there a means to view these added PROGRAMMATICALLY-CREATED custom document properties in Microsoft Office graphical user interface (helps make debugging issues with custom properties easier)?

Jason Plank
  • 2,336
  • 5
  • 31
  • 40
Phil
  • 2,143
  • 19
  • 44
  • Note: I mean programmatically created custom properties; not the Microsoft-created ones. – Phil Oct 23 '11 at 14:39

1 Answers1

1

Yes you can. In office 2010 you can find them under:

File, Info. Then on the right side select the "Properties" dropdown and select "advanced properties" It will give you a popup window where the last tab has the custom properties. It is in the windows on this with header "Properties". If you do not see it there, there "could" be the possibility you are not setting it right.

Phil
  • 2,143
  • 19
  • 44
Eddy
  • 5,320
  • 24
  • 40
  • This does not give me programmatically created custom properties. – Phil Oct 23 '11 at 14:38
  • 1
    Try adding a custom property using the example for CustomProperties in Help. If you do that, they do show up as described. – Steve Rindsberg Oct 23 '11 at 20:17
  • @Steve Rindsberg. Thanks. I was looking at a file that did not have the property set. Opps. – Phil Oct 23 '11 at 23:23
  • @Eddy, thanks. I found it. I also modified your answer a bit. – Phil Oct 23 '11 at 23:29
  • "I was looking at a file that did not have the property set." That'd have an effect on the visibility of the property all right. ;-) – Steve Rindsberg Oct 24 '11 at 02:05
  • As a side note, to get this to work, I had to dirty the document (ActiveDocument.Saved = false) then save it (ActiveDocument.Save()) in order to persist the custom properties AFTER the file is closed and reopened. – Phil Oct 29 '11 at 16:03