Link to home
Start Free TrialLog in
Avatar of Roger
RogerFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Visio CustomDocumentProperties Set and Retrieve

Thanks to Visio guy, I know I need to filter my visio files according to CustomDocumentProperties that I should create via vba.


Please can you give me some starter snippets using vba, to create, edit and remove custom property name-value pairs.
How do you test if a named customproperty exists before trying to .add a property of that name?

Most/all of my property values will be strings.

One string type will contain comma separated values to be read and then split into an array.

Is there an upper limit for the number of different named CustomDocumentProperties in a single visio file?

Thanks
Kelvin
SOLUTION
Avatar of Rgonzo1971
Rgonzo1971

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Roger

ASKER

OK:
The url below makes the point that there is BIG confusion as expert level in the visio field about the meaning of Office custom and builtIn document properties:

http://social.technet.microsoft.com/Forums/office/en-US/85fbc601-1612-4e63-91f4-b900a59109bd/how-to-access-visio-document-properties-builtindocumentproperties-customdocumentproperties-from

From this I conclude there is a real probability that Visio does not do what in Excel/ Word/ PowerPoint are object.properties called 'custom and builtIn document properties'. So I  shall go back the the reason I looked for this in a new question.

For this reason I will split the points for this question, as Rgonzo provided a useful tip, which turned out to have no application to visio. I feel my contribution has been to clear up a misunderstanding in Microsoft support for Visio.