Solved

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

Posted on 2014-04-22
2
3,056 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

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 …
Book Review: Using Microsoft Visio 2010 by Chris Roth   Disclaimer: The author of Using Visio 2010 is a friend and fellow Visio MVP. Whether you’re new to Visio or are upgrading to Visio 2010 from a previous version, you will find a lot to like…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

719 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