Automatically fitting the text container to text in Visio 2010

6,317

Open the shape's shapesheet and:

  1. Resizing shape's width with text: Set cell Width = GUARD(TEXTWIDTH(TheText))

  2. Resizing shape's width with text, but with a minimum size (10mm in this case): Set cell Width = GUARD(MAX(TEXTWIDTH(TheText), 10mm))


Screenshots:

1) Open the shape's shapesheet:

enter image description here

2) Change the shape's width:

enter image description here

Share:
6,317

Related videos on Youtube

James
Author by

James

Updated on September 18, 2022

Comments

  • James
    James over 1 year

    How can I have the text container automatically fit to the text entered in to it?

    For example, if I have a text container with a word like 'dog' in it, I have to use the handles to resize the text container manually. This gets tedious on large numbers of text containers. I'd like to have the text container automatically fit to the word 'dog' after I've finished typing.

  • Franck Dernoncourt
    Franck Dernoncourt over 8 years
    Also works in Microsoft Visio 2013 Professional.
  • Paul Herber
    Paul Herber about 6 years
    Should work with every version of Visio up to the latest version.