Visio Guy

Visio Discussions => Shapes & Templates => Topic started by: Ergoboy217 on April 29, 2008, 05:57:42 PM

Title: Dynamic shape information across different pages?
Post by: Ergoboy217 on April 29, 2008, 05:57:42 PM
Does anyone have a method for creating a shape one one page which contains the page name and page number, that can be copied to other pages, yet will still contain the reference to the original page, and update its contents if the original page name or number were modified? 

Thanks,

Aaron
Title: Re: Dynamic shape information across different pages?
Post by: Lars-Erik on April 29, 2008, 10:22:35 PM
Both page index and page name might be tricky. If you would link the shape to get data from page by using the index. The link would be broken when you rearrange the order of pages. If you link it to the page's name it would lose its link when changing names.

All i can think of is catching changes in page order and names, might be allot of code for a small problem...
You would have to catch, Page added, Page deleted, Page changed, Document changed (for page order?)...  :-\ Tricky...

I'll think about this one tomorrow, might get some brilliant ideas during my days off.

- Lars-Erik