subshape accessing group custom properties

B

Brady

I have created a group of four boxes. I have defined custom properties for
the group. I want the sub shapes to access the group custom properties. Is
there a way to do this?

I want to be able to select from the menu Insert/Field on the subshape and
then be able to reference the group defined properties.

Thanks
Brady
 
P

Paul Herber

I have created a group of four boxes. I have defined custom properties for
the group. I want the sub shapes to access the group custom properties. Is
there a way to do this?

If the name of the group is Shape5 then the group's custom properties
can be accessed as:

Shape.5!Prop.prop1
 
J

John Marshall, MVP

Early morning Paul?

Try using the Sheet name. If the shape name containing the custom properties
is Sheet.5, the component shapes can reference the custom property Prop1 by
using Sheet.5!Prop.Prop1

Note: There is a period between Sheet and 5 and a period between Prop and
Prop1. There is also an exclamation mark between the two strings.

John... Visio MVP

Need stencils or ideas? http://visio.mvps.org/3rdparty.htm
Need VBA examples? http://visio.mvps.org/VBA.htm
Visio Wishlist http://visio.mvps.org/wish_list.htm
 
P

Paul Herber

Mea culpa. No, it was 8.15pm.
When using the shapesheet it is quite easy to type Shape when you mean
Sheet and vice versa. I don't get enough practice writing Sheet these
days.


Early morning Paul?

Try using the Sheet name. If the shape name containing the custom properties
is Sheet.5, the component shapes can reference the custom property Prop1 by
using Sheet.5!Prop.Prop1

Note: There is a period between Sheet and 5 and a period between Prop and
Prop1. There is also an exclamation mark between the two strings.

John... Visio MVP

Need stencils or ideas? http://visio.mvps.org/3rdparty.htm
Need VBA examples? http://visio.mvps.org/VBA.htm
Visio Wishlist http://visio.mvps.org/wish_list.htm
 
J

John Marshall, MVP

On the contrary, I have had WAY too much practise typing sheet into
shapesheet cells in the past week. ;-)

John... Visio MVP

Need stencils or ideas? http://visio.mvps.org/3rdparty.htm
Need VBA examples? http://visio.mvps.org/VBA.htm
Visio Wishlist http://visio.mvps.org/wish_list.htm
Paul Herber said:
Mea culpa. No, it was 8.15pm.
When using the shapesheet it is quite easy to type Shape when you mean
Sheet and vice versa. I don't get enough practice writing Sheet these
days.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top