Hi MD!
You can get the page name to appear in a custom property (shape data) field
inside a shape using the formula:
PAGENAME()
To get it to work properly, though, you need to enter the formula in the
ShapeSheet. So do this:
1. Add a custom property (shape data) field to your shape, say "PageName",
via the normal UI under the Shape or Data menu, depending on your version of
Visio.
2. Open the ShapeSheet for the shape via Window > Show ShapeSheet
3. Find the "Custom Properties" section, and look for your PageName row.
4. Enter this formula in the Value column:
= GUARD(PAGENAME())
The Guard will stop users from accidently changing the value via the custom
property user interfaces.
Aternatively, you could hide the custom property by setting the Invisible
column in the PageName row.
--
Hope this helps,
Chris Roth
Visio MVP
Free Visio shapes:
http://www.visguy.com/category/shapes
Visio programming info:
http://www.visguy.com/category/programming/
Other Visio resources:
http://www.visguy.com/visio-links/
Post by MDelisleI need to include the page name inside the shapes to get this information
when a report listing all the shapes into all the pages will be generated.