Skip to content

Releases: PGS62/VBA-CSV

v0.20

04 Nov 13:46
Compare
Choose a tag to compare

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

03 Nov 14:09
Compare
Choose a tag to compare

This release fixes some "edge cases", with appropriate tests added.

  • Fixed bug in CSVWrite when argument QuoteAllStrings was FALSE and argument Delimiter was not a comma.
  • Fixed bug in CSVRead when handling "ragged" files with varying number of fields per line and argument ShowMissingAs is provided.
  • CSVWrite now recognises "ISO" as its DateFormat argument for ISO8601 date format (yyyy-mm-dd).

v0.18

31 Oct 16:01
Compare
Choose a tag to compare

Comments at the top of the module modCSVReadWrite.bas mention how to provide intellisense help using https://github.com/Excel-DNA/IntelliSense.

v0.17

24 Oct 16:24
Compare
Choose a tag to compare
  • 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

21 Oct 16:32
Compare
Choose a tag to compare
  • Bug fix : Function CSVRead errored (type-mismatch ) if arguments SkipToRow and HeaderRow were equal and greater than 1 and argument ConvertTypes was not False.
  • CSVRead now supports DateFormat such as "D M Y" i.e. with space character separator.
  • CSVWrite has additional arguments TrueString and FalseString.

v0.15

14 Oct 15:46
Compare
Choose a tag to compare
  • Improved performance when ConvertTypes is not FALSE .
  • Bug fix to handling of non RFC4180-compliant files.
  • CSVWrite now accepts Data argument with zero or one dimension(s). In the case of one dimension, the file created has a single column, one field per row.

v0.14

30 Sep 17:04
39877b1
Compare
Choose a tag to compare

Performance improvement for ragged files.

v0.13

28 Sep 08:37
Compare
Choose a tag to compare

Now provide modCSVReadWrite.bas as if it were a binary file. This makes the GitHub API for download-counting work correctly.

v0.12

27 Sep 18:53
b0b45a9
Compare
Choose a tag to compare

Argument DateFormat to CSVRead now defaults to Y-M-D if omitted, rather than being read from Windows Regional Settings.

v0.11

24 Sep 14:11
Compare
Choose a tag to compare

Added tests relating to 32K field size limit