You'll need to format it first, I think:
![]()
sSql = sSql & "SET @DATE = '" & Format(report_date, "yyyy-mm-dd") & "'" & vbCrLf
You'll need to format it first, I think:
![]()
sSql = sSql & "SET @DATE = '" & Format(report_date, "yyyy-mm-dd") & "'" & vbCrLf
Everyone who confuses correlation and causation ends up dead.
Hi There!
Thanks! It works like a champ! Really appreciate it.
How about the totaling of the column? I want to put the total in cell C2. This is what I have now from recording a macro
'Figure Totals here and put in cell C2
.Range("C2").Select
.Range("C2").Value = SUM(B2:B125)
.Range("C3").Select
The line where is says Value = SUM(B2:B125) gives me an error. It highlights the colon ":" between the two cell numbers.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks