PDA

View Full Version : Solved: Maximum field length



mania112
11-02-2011, 06:15 AM
i'm trying to write an email into .body= but after a number of characters it falls onto the next line, turns red and fails to execute.

Is there a way to remove the maximum character barrier?

Thanks

JimmyTheHand
11-02-2011, 07:03 AM
This is the way of writing long strings into the code:
Dim s As String
s = "This is a very long string, more than 12345 characters. " _
& "However, you can see only the first few dozen ones." _
& " etc..."
Notice the underlines at the end of each line.

Jimmy