Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
other
informationbridge
office.intranets
office.misc
office.setup
office.xml
officeupdate
onenote
photodraw.discussion
powerpoint
producer
proj.standard&server
project
project.developer
project.pro_and_serve
project.server
project.vba
project2000
publisher
publisher.prepress
publisher.programming
publisher.webdesign
visio
visio.createshapes
visio.database.modeling
visio.dev.diagrams
visio.dev.shapesheet
visio.dev.vba
visio.dev.vc
visio.developer
visio.general
visio.installation
visio.printing
visio.software.modeling
visio.troubleshoot
  
 
date: Sat, 6 Oct 2007 12:41:27 -0700,    group: microsoft.public.visio.createshapes        back       


How can I include the page name into a shape custom properties?   
I 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.
date: Sat, 6 Oct 2007 12:41:27 -0700   author:   MDelisle

Re: How can I include the page name into a shape custom properties?   
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/

"MDelisle"  wrote in message 
news:76E79D2C-CDB0-44D6-9B58-B4FDE1E10016@microsoft.com...
>I 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.
>
date: Wed, 10 Oct 2007 14:06:17 +0200   author:   Chris Roth [MVP] visioguy [at] hotmail [dot] com

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us