Re: Null values for integer from SQL query shown as 1 when using vbnull
In the recordset that I populated above, it is holding the null values as VbNull, which if just put into a spreadsheet gives me a "1".
I solved this issue by adding an additional IIF() statement when I iterate through the recordset to populate the spreadsheet:
Rather then my old code which was: