Code to space long code to next line

P

Pamela

I have a fairly long code that I'd like to space out over multiple lines for
easier reading and future handling. I know I've seen a code that tells the
system that it is continued on the next line but I can't find it even after
searching this db. Thanks so much for the help!!

Pamela
 
A

Al Campagna

Pamela,
That would be the "_" underscore character

Private Sub cmdSample_Click()
If PlowingOrder > 4 And _
PlowingOrder < 8 Then
Beep
End If
End Sub
 

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