Line Break in ShapeSheet Cells

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

Previous topic - Next topic

0 Members and 2 Guests 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

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: 212 (show)
Files included: 32 - 1207KB. (show)
Memory used: 1047KB.
Tokens: post-login.
Cache hits: 14: 0.00267s for 26,588 bytes (show)
Cache misses: 3: (show)
Queries used: 16.

[Show Queries]