All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Fixed #36, truncation of cell contents to 255 characters by
Format
, by skipping the call toFormat(...)
whenLen(cel.Value)
is greater than 250. (Content lengths this long should only occur when the cell contains free text for whichFormat()
is a no-op anyways.)
- Renamed the
Sub
inExporter.bas
that launches the CSV ExporterUserForm
to the less-anonymousshowCSVExporterForm()
.
- Implemented option for exporting data values surrounded by user-definable quotes.
User can select whether to quote all exported values, or just
non-numeric values (as determined by VBA's
IsNumeric
built-in).
- Fixed RTE 91 raised when the header option is enabled and
entire row(s)/column(s) are selected that do not intersect
.UsedRange
(#25). - Due to the way Excel handles
.UsedRange
on an empty sheet (returnsRange("$A$1")
instead ofNothing
), it was necessary to add explicit check for this case, in order to correctly report invalid selection status when entire row(s)/column(s) are selected on an empty sheet.
Development release issued, to facilitate user testing before considering the below new features as "final".
- Hidden rows and columns now are NOT exported by default; checkboxes to enable export of hidden cells (per row and/or per-column) are now provided
- An option is now provided to export the cells from one or more rows on the active sheet above/below the exported data block as "header row(s)"
- New information box on the form indicates the sheet and range of cells currently set to be exported
- New warning added, if the separator appears in the data to be exported; this should minimize accidental generation of files that cannot be used subsequently, due to the excess separator characters
- UserForm now reappears in its prior location when closed and re-opened, instead of always reappearing in the center of the Excel window
- Selection of multiple areas now results in an "" message in the new information box; and, greying out of the 'Export' button instead of a warning message after clicking 'Export'
- Selection of entire rows/columns now sets for export the intersection of the selection and the UsedRange of the worksheet; selection of an entire row/column outside the UsedRange of the worksheet gives an "" message in the new information box and disables the 'Export' button
- Userform now disappears when a chart-sheet is selected, and reappears when a worksheet is re-selected; Userform will silently refuse to open if triggered when a chart-sheet is active
- Error handling added around folder selection and output file opening for write/append
Initial release
- Folder selection works
- Name, number format, and separator entry work
- Append vs overwrite works
- Modeless form retains folder/filename/format/separator/etc. within a given Excel instance
- Exports only a single contiguous range at a time
- Modest validity checking implemented for filename
- Red text and disabled
Export
button on invalid filename
- Red text and disabled
- No validity checking implemented for number format
- Disabled
Export
button if number format or separator are empty