Solved

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

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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

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…
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

730 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