Solved

Visio 2013 - Linking text from a shape on page X to a shape on page Y

Posted on 2014-04-22
2
2,726 Views
Last Modified: 2014-04-23
I have a string of text on page 1 "Global Network" which I would like to display on page 2
I create a text box or a shape on page 2  (both didn't work) and insert the following custom field inside of that shape/textbox.  

The text I'm trying to link is from a "lightning bolt" i.e. comm link.  However, I keep getting "Error in Formula" message.

Here's what I'm inputting:
=ShapeText(Pages[Global Network]!comm-link.384!TheText)
err
0
Comment
Question by:brothertruffle880
2 Comments
 
LVL 11

Accepted Solution

by:
Visio_Guy earned 500 total points
ID: 40016911
Hi BT,

Here's the syntax:

=SHAPETEXT(Pages[Global Network]!Sheet.1!TheText)

The problem you are having is (yet another) embarrassing nitpick that occurs with Visio shape names.

You correctly identified your source shape as "comm-link.384", but using shape names in formula references only works on the same page, and at the same level of grouping. So, a sub-shape can't refer to its parent by name, only shapes at the same level.

When you can't use the name, then you use the sheet id. In this case, there's a 99% chance that your shape's name-id is "Sheet.384", since the dot-number bit is almost always the same as the shape's id. But use the Developer ribbon > Shape Name dialog just to be sure, checking what it says the ID is. (You could, for example, go and rename your shape "comm-link.3.14159" for some reason, then the dot-number would not be the same as the sheet id.

So now your formula changes to this:

=SHAPETEXT(Pages[Global Network]!Sheet.384!TheText)

One other tip, after you've set the linked text, you might lock it from being edited. Use the dialog under Developer > Shape Design > Protection to lock this down. Then only the source shape's text can be edited.
1
 

Author Comment

by:brothertruffle880
ID: 40017772
HOLY COW!  I never would have figured that out.
Thanks!
Everything worked as promised.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever created a custom Visio stencil – a collection of your own unique master shapes – and then created a drawing by dragging masters onto the drawing page? Have you then made changes to the stencil master and wondered why the shapes on the …
Scott A. Helmers Partner, Harvard Computing Group Microsoft Visio MVP Background Microsoft has added more enhancements and new features to Visio 2010 than to any release since they purchased the Visio product line in 2000. In addition, the com…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question