Skip to content

Commit

Permalink
Merge pull request #30 from bskinn/master
Browse files Browse the repository at this point in the history
Merge master into stable for v1.2.0 release
  • Loading branch information
bskinn authored May 29, 2020
2 parents 7d0b0e6 + e900d5c commit 6399427
Show file tree
Hide file tree
Showing 6 changed files with 323 additions and 68 deletions.
96 changes: 64 additions & 32 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,58 +6,90 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).


### [Unreleased]
### [1.2.0] - 2020-05-29

...
#### Added

- 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).


### [1.2.0.dev2] - 2020-02-07

#### Fixed

- 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 (returns
`Range("$A$1")` instead of `Nothing`), 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.


### [1.2.0.dev1] - 2020-02-03

Development release issued, to facilitate user testing before considering
the below new features as "final".

#### Added

- 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)"


### [1.1.0] - 2019-01-08

#### Added

* 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
- 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

#### Changed

* 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 "<invalid selection>"
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
"<invalid selection>" message in the new information box and disables
the 'Export' button
- 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 "<invalid selection>"
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
"<invalid selection>" message in the new information box and disables
the 'Export' button

#### Fixed

* 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
- 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


### [1.0.0] - 2016-01-30

*Initial release*

#### Features
* 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
- 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

#### Limitations
* Exports only a single contiguous range at a time
- Exports only a single contiguous range at a time

#### Internals
* Modest validity checking implemented for filename
* Red text and disabled `Export` button on invalid filename
* No validity checking implemented for number format
* Disabled `Export` button if number format or separator are empty
- Modest validity checking implemented for filename
- Red text and disabled `Export` button on invalid filename
- No validity checking implemented for number format
- Disabled `Export` button if number format or separator are empty
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016-2019 Brian Skinn
Copyright (c) 2016-2020 Brian Skinn

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ See the project [wiki](https://github.com/bskinn/excel-csvexporter/wiki) for doc

The binary `.xlam` file for each release can be found on the GitHub page for that release.

Copyright (c) Brian Skinn 2016-2019
Copyright (c) Brian Skinn 2016-2020

License: The MIT License
See [`LICENSE.txt`](https://github.com/bskinn/excel-csvexporter/blob/master/LICENSE.txt) for full license terms.
Expand Down
3 changes: 1 addition & 2 deletions src/Exporter.bas
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Attribute VB_Name = "Exporter"

' # ------------------------------------------------------------------------------
' # Name: Exporter.bas
' # Purpose: Helper module for launching the CSV Exporter add-in
Expand All @@ -8,7 +7,7 @@ Attribute VB_Name = "Exporter"
' # [email protected]
' #
' # Created: 24 Jan 2016
' # Copyright: (c) Brian Skinn 2016-2019
' # Copyright: (c) Brian Skinn 2016-2020
' # License: The MIT License; see "LICENSE.txt" for full license terms.
' #
' # http://www.github.com/bskinn/excel-csvexporter
Expand Down
Loading

0 comments on commit 6399427

Please sign in to comment.