-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add supporting files and information
LICENSE updated, README written, CHANGELOG started. Added configuration for VBA-Import-Export and supporting files. Added git and editor configurations. Added a test file designed to test various different autofit senarios. Autofit passed most tests except for multirow test as expected.
- Loading branch information
1 parent
913f356
commit 64ca63e
Showing
9 changed files
with
106 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# EditorConfig is awesome: http://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
[*.{bas,cls,frm}] | ||
indent_style = space | ||
indent_size = 4 | ||
end_of_line = crlf | ||
|
||
[CodeExport.config.json] | ||
indent_style = tab | ||
end_of_line = crlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# CRLF -> LF by default, but not for modules or classes (especially classes) | ||
* text=auto | ||
*.bas text eol=crlf | ||
*.cls text eol=crlf | ||
*.frm text eol=crlf | ||
CodeExport.config.json text eol=crlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Excel temporary files | ||
~* | ||
|
||
# Build files | ||
*.xlam | ||
*.xla |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Change Log | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](http://keepachangelog.com/) | ||
and this project adheres to [Semantic Versioning](http://semver.org/). | ||
|
||
## [Unreleased] | ||
|
||
- No changes documented yet | ||
|
||
[0.1.0]: https://github.com/mattpalermo/Excel-Autofit/releases/tag/v0.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"Module Paths": { | ||
"Autofit": "Autofit.bas" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,64 @@ | ||
# Excel-Autofit | ||
Autofit merged cells with this Excel add-in | ||
# Excel Autofit | ||
|
||
Autofit merged cells with this Excel add-in. | ||
|
||
The autofit function built into *Microsoft Excel* is very handy but it doesn't | ||
work on merged cells! This can be frustrating. This add-in will provide an | ||
alternative autofit function which will autofit all selected cells, including | ||
merged cells. | ||
|
||
Compatible with Windows and Mac. | ||
|
||
## Download | ||
|
||
[Autofit.xlam]() (version 0.1.0) | ||
|
||
## Instructions | ||
|
||
The *Excel Autofit* add-in will add a new button labelled *Autofit row height* | ||
in the *Home* menu of Excel. First select the cells you | ||
want to autofit and then press the button. If there is a lot of autofitting to | ||
do, it may take some time. Watch the status bar for a progress counter. It is | ||
usually found at the bottom left of the Excel window. | ||
|
||
 | ||
|
||
**Important:** Using the autofit button will erase your undo history. | ||
|
||
**Note:** The autofit doesn't work properly on merged cells spanning multiple | ||
rows. See the *Helping out* section to help fix this. | ||
|
||
## Support | ||
|
||
You can submit questions, requests and bug reports to the | ||
[issues list](https://github.com/mattpalermo/Excel-Autofit/issues). | ||
Github pull requests are also welcome. | ||
|
||
## Helping out | ||
|
||
There are a few improvements that could still be made to the add-in. See the | ||
[issues list](https://github.com/mattpalermo/Excel-Autofit/issues) for known | ||
problems. Github pull requests are welcome, otherwise get in contact via the | ||
[issues list](https://github.com/mattpalermo/Excel-Autofit/issues) or email at | ||
[[email protected]](mailto:[email protected]). | ||
|
||
If you plan to hack on the code, I have used the | ||
[VBA-Import-Export](https://github.com/mattpalermo/VBA-Import-Export) add-in to | ||
simplifying importing and exporting the VBA code. Feel free to try it out. | ||
Manually importing and exporting will work as well so don't fret over it if you | ||
don't want to use it. | ||
|
||
## Authors and Attributions | ||
|
||
* **James Furnell** - Commissioned the creation of *Excel Autofit* | ||
* **Matthew Palermo** - Author | ||
|
||
* **[Marcus Small](http://www.thesmallman.com/autofit-merged-cells/)** - His | ||
*autofit merged cells* code shows how to solve the Autofit problem and was | ||
used as a reference to create *Excel Autofit*. | ||
|
||
## See also | ||
|
||
* [ASAP Utilities for Excel](http://www.asap-utilities.com/) - A commercial | ||
add-in which includes the same functionality and *much* more. I recommended | ||
trying this add-in as well if you are using Windows (doesn't work on Mac). |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.