Hi Guys,
For ease of sight if nothing else, I am forming a string of data, and ideally want to be able to comment what each part of the string is... for example, what I want to do is this:
However, when I do the above, what should ideally be the commented code, then seems to interfere with the post as the underscore _ needs to be the last character on the line... ?
Any thoughts how I can closest achieve this?
For ease of sight if nothing else, I am forming a string of data, and ideally want to be able to comment what each part of the string is... for example, what I want to do is this:
Code:
String = String & _
Field 1 & _ 'Field 1 is X
& "," & Field 2 & _ 'Field 2 is Y preceded by a comma
& "," & Field 3 & _ 'Field 3 is Z preceded by a comma
& "," & Field 4 'Field 4 is The Rest preceded by a comma
Any thoughts how I can closest achieve this?