BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Can't get SETATREF() to do this with external data (in shape data cell)

Started by Visisthebest, February 14, 2023, 05:17:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


Quote from: Visisthebest on February 15, 2023, 04:30:58 PM
Thank you Wapperdude good to know what is possible with the shape text 'field'!
But keep in mind
Quote from: MS in article addcustomfieldUsing the AddCustomFieldU method is similar to clicking Field on the Insert tab and inserting a custom formula field in text. To add any other type of field (not custom), use the AddField method.


For the curious, back in 2014 I did comparison of field vs shape text, for fun...must've been bored.  See the 4th reply in this topic:
Visio 2019 Pro


If I still have someone's attention...
New file that shows various coding techniques to add text to shape.  Mainly, the focus was on adding (inserting) field text as this creates an addressable shapesheet entry point (cell).  There are 3 shapes and 3 macros.  Each shape started as a simple, blank rectangle.  The macros did the rest of the work.

There are two take-aways.  One, it is possible to write text to a cell and have it displayed.  Two, regular shape text is much more user friendly wrt editing / formatting the text.  Field text can be embellished, but is not nearly as flexible and easy to manipulate.
Visio 2019 Pro


Very useful Wapperdude thank you, on double-click on a shape you can show a pop up text editor to the user which is user-friendly enough.
Visio 2021 Professional

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 216 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1133KB.
Tokens: post-login.
Cache hits: 13: 0.00131s for 26,766 bytes (show)
Cache misses: 2: (show)
Queries used: 15.

[Show Queries]