Solved

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

Posted on 2014-04-22
2
2,823 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Visio - Flow chart - Connector Line junctions - Enlarge 3 1,070
Visio  creates a grid of sixteen pages 4 63
Running Visio Macro from VBS File 3 91
shape name in visio 2016 2 13
The ability to add structure to Visio diagrams using containers, lists and callouts is one of my favorite features in Visio 2010. In this article we’ll examine lists. We’ll explore containers and callouts in separate articles. Prior to reading th…
The ability to add structure to Visio diagrams using containers, lists and callouts is one of my favorite features in Visio 2010. In this article I’ll describe a mashup of containers and lists that meet a real-world need. Prior to reading this ar…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

831 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