Advertisement
Guest User

Untitled

a guest
Jun 28th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. Dim BtDate as Date
  2.  
  3. If Len(Range("A4")) > 0 And IsDate(Range("T6")) Then
  4. BtDate = Range("A4")
  5.  
  6. (select ...CAST(ROUND(1/a.midpoint,6) AS NUMERIC(18,6)) from .... a WHERE xdate <= '" & BtDate & "' group by currency) c on ...a.currency = c.currency and a.xdate =c.maxdate WHERE a.currency like '%' order by Currency;")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement