If a VBA sentence is too long, how to divide into another line?

T

Tony Toews

Martin said:
If a VBA sentence is too long, how to divide into another line?

Add an underscore at the end of the first line.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
 
M

M.L. Sco Scofield

Actually that would be a space-underscore at the end of the line.

You'll get an error without the space.

Sco

M.L. "Sco" Scofield, Microsoft Access MVP, MCSD, MCP, MSS, A+
Denver Area Access Users Group Vice President www.DAAUG.org
MS Colorado Events Administrator www.MSColoradoEvents.com
Useful Metric Conversion #18 of 19: 8 nickels = 2 paradigms (My personal
favorite)
Miscellaneous Access and VB "stuff" at www.ScoBiz.com
 
T

Tony Toews

M.L. Sco Scofield said:
Actually that would be a space-underscore at the end of the line.

You'll get an error without the space.

Picky, picky, picky. <smile>

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
 
Top