Skip to content

Commit

Permalink
Merge branch 'release-1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
bskinn committed Jan 8, 2019
2 parents db51224 + 0b5e628 commit 7d0b0e6
Show file tree
Hide file tree
Showing 10 changed files with 536 additions and 244 deletions.
55 changes: 50 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,62 @@
## CHANGELOG: CSV Exporter
## CHANGELOG: CSV Exporter Excel VBA Add-In

#### v1.0.0: Initial release
All notable changes to this project will be documented in this file.

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

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

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

### [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

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

*Internals*
#### Internals
* Modest validity checking implemented for filename
* Red text and disabled `Export` button on invalid filename
* No validity checking implemented for number format
Expand Down
Binary file removed CSVExporter.xlam
Binary file not shown.
9 changes: 0 additions & 9 deletions Exporter.bas

This file was deleted.

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 Brian Skinn
Copyright (c) 2016-2019 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
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
# excel-csvexporter
# CSV Exporter -- Excel VBA Add-In

Lightweight tool to export ranges within an Excel sheet to CSV.

See the project [wiki](https://github.com/bskinn/excel-csvexporter/wiki) for documentation, installation instructions, etc.

Copyright (c) Brian Skinn 2016
The binary `.xlam` file for each release can be found on the GitHub page for that release.

Copyright (c) Brian Skinn 2016-2019

License: The MIT License
See [`LICENSE.txt`](https://github.com/bskinn/excel-csvexporter/blob/master/LICENSE.txt) for full license terms and contributor agreement.
See [`LICENSE.txt`](https://github.com/bskinn/excel-csvexporter/blob/master/LICENSE.txt) for full license terms.

*CSV Exporter is third-party software, and is neither affiliated with, nor authorized,
sponsored, or approved by, Microsoft Corporation.*
226 changes: 0 additions & 226 deletions UFExporter.frm

This file was deleted.

Binary file removed UFExporter.frx
Binary file not shown.
25 changes: 25 additions & 0 deletions src/Exporter.bas
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Attribute VB_Name = "Exporter"

' # ------------------------------------------------------------------------------
' # Name: Exporter.bas
' # Purpose: Helper module for launching the CSV Exporter add-in
' #
' # Author: Brian Skinn
' # [email protected]
' #
' # Created: 24 Jan 2016
' # Copyright: (c) Brian Skinn 2016-2019
' # License: The MIT License; see "LICENSE.txt" for full license terms.
' #
' # http://www.github.com/bskinn/excel-csvexporter
' #
' # ------------------------------------------------------------------------------

Option Explicit

Sub showForm()
Attribute showForm.VB_Description = "Load the CSVExporter application."
Attribute showForm.VB_ProcData.VB_Invoke_Func = "C\n14"
UFExporter.Show
End Sub

Loading

0 comments on commit 7d0b0e6

Please sign in to comment.