Releases: PGS62/VBA-CSV
Releases · PGS62/VBA-CSV
v0.20
Improved code to "guess" the delimiter in a csv file when the Delimiter
argument is not provided. Specifically, the code now handles better the case of the first field in the first row of the file being a date-with-time such as 2022-11-04T14:41:01
. Previously the code would have guessed the delimiter to be :
, which would likely have been incorrect.
v0.19
This release fixes some "edge cases", with appropriate tests added.
- Fixed bug in
CSVWrite
when argumentQuoteAllStrings
wasFALSE
and argumentDelimiter
was not a comma. - Fixed bug in
CSVRead
when handling "ragged" files with varying number of fields per line and argumentShowMissingAs
is provided. CSVWrite
now recognises"ISO"
as itsDateFormat
argument for ISO8601 date format (yyyy-mm-dd).
v0.18
Comments at the top of the module modCSVReadWrite.bas mention how to provide intellisense help using https://github.com/Excel-DNA/IntelliSense.
v0.17
CSVRead
: Improved handling of files in which Boolean values are represented by quoted strings. For example, this file represents Booleans with quoted strings"yes"
and"no"
. In this version v0.17 the following formula now correctly converts those strings to Booleans.
=CSVRead("https://vincentarelbundock.github.io/Rdatasets/csv/carData/TitanicSurvival.csv",TRUE,,,,,,,,,,,"""yes""","""no""")
v0.16
- Bug fix : Function
CSVRead
errored (type-mismatch ) if argumentsSkipToRow
andHeaderRow
were equal and greater than 1 and argumentConvertTypes
was notFalse
. CSVRead
now supportsDateFormat
such as "D M Y" i.e. with space character separator.CSVWrite
has additional argumentsTrueString
andFalseString
.