You can break the string and use the line continuation charcter, e.g.:
Const gstrcString1 = "Line1 " & vbCrLf & _
"Line 2" & vbCrLf & _
"Line 3"
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users -
http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"John" <jo@hn.comwrote in message
news:f5***********@textnews.wanadoo.nl...
>I want to declare a somewhat larger string constant which doesn't fit on
one line. I tried several ways without luck. Is it even possible to declare
it on more than one line?