Replicate Text - Controlled by single entry

Started by thalantyrdsl, August 16, 2017, 10:31:17 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

thalantyrdsl

Hi again,

I've got another question as I continue to build this work template.

Is it possible to have text-replicate working, where you enter the text in one area and it replicates it elsewhere.
Eg: If I edit the TAB label on my page, it will then use that text for two other alternate locations on that tab, but have different font attributes (size, type, weight, etc).

I'm trying to cut down on the amount of editing we have to do and this one is a bit of a pain as every sheet has the same text in the title, the footer and the tab name.

Please let me know if I've explained that well enough.

Thank you in advance.

AnotherNoOne

Maybe you should try sth along those [the attachment!!!] lines (double click to open shape data-entry-window and then link the shape data into both text fields

There isnĀ“t really a way to get the Content of a normal text field into data you can access across shapes, since editing text inside of a Field containing a user defined formula will always break the link.

But that problem is better explained here:

http://visguy.com/vgforum/index.php?topic=6990.0
Another_Noone

Just some weirdo on the Interwebs.

wapperdude

#2
Depending upon Visio version, there are 3 related functions:  pagecount(), pagename(), pagenumber(). 

An example, might be for footer:
Place a shape where you want page number, then, insert field, should be page info section, select what you desire.  Or, you can build your own entry with custom formula...enter the following:  pagename() & ":  " & pagenumber() & "/" & pagecount()

Not sure about the "&", maybe something else.  The result would be something like Schematic:  2/16.  Assuming page (tab) name is Schematic.

You just need to place shapes and make entries as desired.  Each shape can have it's own formatting.

One more technique: 
  select shape,
  insert single field entry, e.g., pagename(). 
  back at shape, use text tool to set text entry point after the insert and hit<enter>, for a new line,
  insert pagenumber(),
  then back at shape, use text tool to type in a space,  a slash, and a space,
  finally, insert pagecount()

This is sort of an indirect way to build a formula.  In this case it yields 2 lines.  Page name on 1st line, with page number and count on 2nd line.  Gives you idea of versatility.  Finally, s/b able to format each line, entry individually.

See also
http://www.visguy.com/2008/10/21/title-blocks-1-how-to-display-existing-document-information/
https://msdn.microsoft.com/en-us/library/office/ff767742.aspx

HTH
Wapperdude

Visio 2019 Pro

wapperdude

#3
To give you an idea of flexibility that is available...

The left case uses custom formula described above.
The middle cases use the 2nd approach.
The 3rd, right, case is a different approach, adapted from a prior post.  (See http://visguy.com/vgforum/index.php?topic=7716.msg32792).  Included here to show the types of formatting that can be achieved.

Wapperdude
Visio 2019 Pro