Go to centre

B

Box666

I have vertually no coding knowledge, but I have an existing program
where they have used
& vbCrLf
which seems to take you to the next line, but what is the command to
go to the centre of the next line.?

With thanks

Bob
 
K

Klatuu

That is not exactly what vbCrLf does. It is just a constant for a Carriage
Return Line Leed code combination ( chr(13) & chr(10) ). It is a carry over
from the old days when you told the printer or the screen to start a new line
on the device. As it works today, it breaks a display. For example, if you
had a string like:
"This is the First Part and" & vbCrLf & "This is the Second Part"
It would display as

This is the First Part and
This is the Second Part

You will need to explain what you mean by go to the center of the next line.
There really is no such thing.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top