Visio Guy

Visio Discussions => General Visio => Topic started by: Dean on February 10, 2016, 09:08:45 PM

Title: How to Add Description Attribute to Tasks
Post by: Dean on February 10, 2016, 09:08:45 PM
I made my own task stencil but want to add a property where I can assign a task description to a task block without writing it on the diagram. I do this so that when I pull reports, I can see the description in a table.

The way I do this is to assign a property called "description" to the task.

The problem is that when I create this attribute, the only type which will allow me to write a description is the "string" type. This is way too basic. I cant write a paragraph with new line characters let alone complex formatting such as indentation and bulleting. Is there any way I can add in newline descriptions to a task block? I just cant seem to do it.
Title: Re: How to Add Description Attribute to Tasks
Post by: Yacine on February 10, 2016, 09:41:30 PM
Hi Dean,
You're asking for a lot.
What you may try is to add this formatted text to a sub-shape, then put its text value into the value of a custom field of the parent shape.
Not sure if this will work ... just a first thought.

Regards,
Y.
Title: Re: How to Add Description Attribute to Tasks
Post by: Dean on February 11, 2016, 02:45:17 PM
Any idea on what the VBA code would look like? Or what steps to I macro record to try and give me hints on what the code will look like.