Hello Geoff and Micah,
This problem appears to occur when the file properties are editted without
the file being open and thus the KEYWORDS() shapesheet function that gets
added as part of the Insert / Field operation is not triggered.
Interestingly, just opening the file properties dialog from File /
Properties and editting any one of the fields will trigger any of these
inserted properties functions (Keywords, Description, Subject etc.) and all
inserted fields wil be updated. So the question is, is how do we force
Visio to re-evaluate these fileds when the file is opened to check if there
have been any changes while the document was closed?
Well you could do this very easily with code, but just with the shapesheet
is a little more complex. you might be interested in this post
(
http://groups.google.co.uk/group/mi...d+revision+of+drawing&rnum=4#ef36ce1b0876ddc9),
but I think the easiest way around this would be either a) to edit the file
properties within Visio or b) edit a single property (also within Visio)
thereby updating the other properties. You could, for example, add a
right-click to you first page to show the properties dialog as follows:
1) Ensure nothing is selected on the page and then click Window / Show
ShapeSheet
2) You should now see the ShapeSheet window for the current page, which
breaks down its properties into Sections.
3) If you can't see a section named "Actions" right-click somewhere in the
ShapeSheet and select 'Insert Section...', check the Actions check box and
click OK.
4) If the "Actions" section is there already right-click on one of the
existing rows and select 'Insert Row'
5) Paste in the following formula into the 'Action' cell of your new row:
=DOCMD(1009)
6) Paste in the following formula into the 'Menu' cell of your new row:
="Show file properties"
You should now be able to right-click on the page and display the file
properties a little more easily.
Not a very straight forward solution I'm afraid, but if you're interested in
a code solution let me know.
Best regards
John
John Goldsmith
www.visualSignals.co.uk