I am quite new to VBA and I would like to understand what the function is of the #
in this string:
"#" & Format(dteLOOP, "mm/dd/yyyy") & "#,"
I am quite new to VBA and I would like to understand what the function is of the #
in this string:
"#" & Format(dteLOOP, "mm/dd/yyyy") & "#,"
The #
is the delimiter for date/time literals in Access-SQL, or, as HansUp pointed out in the comments, in VBA code.
Here &
operator is concatenating strings. There is no significance for "#".
The expected output will have a "#" before and after.
for example:
the date will be : #10/11/2019#,