Author Topic: Line Break in ShapeSheet Cells  (Read 8389 times)

0 Members and 1 Guest are viewing this topic.

Lars-Erik

  • Sr. Member
  • ****
  • Posts: 278
Line Break in ShapeSheet Cells
« on: May 28, 2008, 07:59:03 AM »
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

« Last Edit: May 28, 2008, 11:00:20 AM by Visio Guy »

Visio Guy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1716
  • Smart Graphics for Visual People...n' Stuff
    • Visio Guy
Re: Line Break in ShapeSheet Cells
« Reply #1 on: May 28, 2008, 10:59:42 AM »
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

  • Sr. Member
  • ****
  • Posts: 278
Re: Line Break in ShapeSheet Cells
« Reply #2 on: May 28, 2008, 11:36:05 PM »
Thanks, I'm sure there's something like "insert(line)" aswell. But this will do just fine!

- Lars

Visio Guy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1716
  • Smart Graphics for Visual People...n' Stuff
    • Visio Guy
Re: Line Break in ShapeSheet Cells
« Reply #3 on: May 29, 2008, 04:20:05 AM »
No, I don't think there is...
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

  • Sr. Member
  • ****
  • Posts: 278
Re: Line Break in ShapeSheet Cells
« Reply #4 on: May 29, 2008, 05:39:46 AM »
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