How should I define large strings in VBA? Is there a better way than coding something like the below?
Dim largeString as String
largeString = \"This is a lon
No, this is as good as it gets.
For really long strings it might be an option to keep the string in a separate file, or use some application feature. For example, in Word, you might want to store the string in a document variable, as hidden text or AutoText. In Excel, you might consider a hidden sheet for storing long string constants.