Code wrapping?

E

Erin Freeman

Hi there,

Stupid question I know, but, how do i wrap the code I am writing to continue
on the next line when i run out of space?
 
D

Dirk Goldgar

Erin Freeman said:
Hi there,

Stupid question I know, but, how do i wrap the code I am writing to
continue
on the next line when i run out of space?


At the end of a line, put a space and then the continuation character "_".
Like this:

MsgBox "This is a warning.", _
vbExclamation", _
"Look out!"
 
J

John W. Vinson

On Wed, 5 Dec 2007 12:56:01 -0800, Erin Freeman


Erin, did you bother to read Dirk's answer? He answered your question. Try it.
In the actual code window when i cant type horizontally anymore

John W. Vinson [MVP]
 
E

Erin Freeman

yes I did, sorry i tried it and thought i had to put the comma in, so i was
unsure if it worked that same way.
 
J

John W. Vinson

yes I did, sorry i tried it and thought i had to put the comma in, so i was
unsure if it worked that same way.


Just do what he said. To quote:

At the end of a line, put a space and then the continuation character "_".

Remember - we're not there. We can't see your screen. We don't know what
you've tried and whether it succeeded or not, unless you tell us!

John W. Vinson [MVP]
 
Top