Line Break in ShapeSheet Cells

Started by Lars-Erik, May 28, 2008, 12:59:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Lars-Erik

I know I've seen it somewhere (on this forum even!) but for the live of me I cant find it anymore!

How do I add an enter to a text field, so:

"Hello"&pagebreak&"World!"

--->

Hello
World!

- Lars


Visio Guy

Hi L-E,

You can create a new line or carriage return or enter or whatever it is called in a ShapeSheet cell like this:

User.txt = "Hello" & CHAR(10) & "World"

or CHAR(13)
For articles, tips and free content, see the Visio Guy Website at http://www.visguy.com
Get my Visio Book! Using Microsoft Visio 2010

Lars-Erik

Thanks, I'm sure there's something like "insert(line)" aswell. But this will do just fine!

- Lars

Visio Guy

For articles, tips and free content, see the Visio Guy Website at http://www.visguy.com
Get my Visio Book! Using Microsoft Visio 2010

Lars-Erik

I still cant find it and I'm starting to doubt myself  :-X

Anyway, if anyone else has trouble with any char related stuff, I found this page which has all char() listed.

- Lars