Commit Graph

57 Commits

Author SHA1 Message Date
dfinke
f5acf88a17 Experiment multiple pivot tables 2017-10-11 19:23:45 -04:00
dfinke
85151f8375 formatted 2017-10-11 18:11:47 -04:00
ili101
06124e12e7 Fix Bug. AutoFilter with TableName corrupted file
Fix Bug, AutoFilter with TableName create corrupted Excel file.
https://github.com/dfinke/ImportExcel/issues/65
You now cannot set AutoFilter and TableName at the same time.
"-Now" will not auto add AutoFilter if TableName set.
2017-10-05 00:02:06 +03:00
Brun
5d70003582 Title fixes 2017-10-02 10:04:13 -04:00
Brun
a3c2a92e33 Header formatting fix when Title is used (Issue #182) 2017-09-20 13:56:06 -04:00
DarkLite1
d8d624ba9c Added the function 'Update-FirstObjectProperties'
Added help text in 'Export-Excel'
Added try/catch to 'Install' and 'InstallModule'
Improved code readability in 'Install' and 'InstallModule'
2017-07-26 13:37:08 +02:00
DarkLite1
e8a027c951 Snall fixe verbose
Verbose for the header was not in the right place
2017-05-19 14:49:14 +02:00
DarkLite1
1cfa5c2115 Small fix for ConvertTo-Number
Forgot to initialize the variable
2017-05-16 12:41:00 +02:00
DarkLite1
2354636edd Major update
Added parameter ‘NoNumberConversion'
- Allows us to pass on data to Excel without trying to parse it as a
number
Some code clean-up:
- Removed repeating code by using functions
- Some syntax clean-up for better readability
- More clear verbose messages
- Improved error handling
Improved help
- Added parameter explanations
- Added more examples
2017-05-15 14:55:04 +02:00
DarkLite1
cd8a57605f Fix for Excel-Export #168
- Changed 'InvariantInfo' to 'CurrentInfo', to respect the systems
regioinal settings
- Added verbose text to see what's happening
2017-02-21 14:59:56 +01:00
DarkLite1
ae9ef78ea0 Fix for Export-Excel #165
Fixed handling of the TableName with parameter validation, we now throw
an error in case the TableName:
- starts with something else then a letter
- is NULL or empty
- Contains spaces
Just like in the orriginal EPPlus.dll library.

Added Try/Catch clause for the End clause. So errors like 'TableName is
not unique' are terminating errors and the function isn't exectued any
further.

Also cleaned up for readability some cosmetic stuff:
- 'if(' to 'if ('
- double quotes to single quotes where needed
2017-02-20 09:46:03 +01:00
DarkLite1
7cdf40e0c8 Added 'Get-ExcelWorkbookInfo' 2017-02-14 09:13:46 +01:00
dfinke
221bc5d215 updated 2016-12-22 12:01:16 -05:00
dfinke
29e44e0aa1 Add scriptblock for Cell Fill Style 2016-12-22 11:24:18 -05:00
headsphere
1cd583ca12 Update Export-Excel.ps1 2016-09-27 11:06:50 +01:00
headsphere
27dea78413 Update Export-Excel.ps1
Fixed problem with conditional formatting code that was breaking in Powershell 3
2016-09-21 13:22:57 +01:00
Attila Mihalicz
dba4768514 uninitialized variable leaks into the pipeline when -TableName parameter is used. 2016-07-07 11:35:42 +02:00
dfinke
3c5020f137 Fixes Casting Error in Export-Excel #108 2016-06-28 15:01:41 -04:00
Paul Williams
4f864a2544 Adds switch for PivotDataToColumn so calculated values appear in columns instead of rows 2016-04-15 17:20:55 -04:00
dfinke
0f45dc9b12 fix series header 2016-03-31 16:51:08 -04:00
Doug Finke
af278c7d37 Merge pull request #85 from redoz/issue-84
Ensure Datalabel is not null before referencing it.
2016-03-31 16:21:18 -04:00
Patrik
fb07fad548 Ensure Datalabel is not null before referencing it. 2016-03-30 23:08:04 +02:00
Patrik
c2b2860814 Fix for issue where multiple series aren't supported in a single chart. 2016-03-30 22:37:27 +02:00
jdhitsolutions
773e92b9f5 Updated Title related parameters 2016-03-28 13:04:19 -04:00
dfinke
5b0a528711 Added Number Formatting 2016-03-26 13:57:21 -04:00
Paul Williams
748cf0a772 Allow ordered dictionary for PivotData 2016-03-23 10:55:27 -04:00
dfinke
b6e7a59337 Added FreezeFirstColumn,FreezeTopRowFirstColumn,FreezePane 2016-03-22 12:03:45 -04:00
dfinke
ee0dac3b8d Handles and warns if auto name range names are also valid Excel ranges
Handles and warns if auto name range names are also valid Excel ranges
2016-03-08 17:01:26 -05:00
dfinke
e6f2b5867f Initialize header in begin block 2016-03-03 17:07:50 -05:00
dfinke
e9b8deccf5 Updated scripts
Added -Header parameter and scoped the header variable in the
Export-Excel command
2016-03-02 18:03:00 -05:00
dfinke
8f05e9d57d Added conditional type for lt, le, gt, ge 2016-02-29 10:01:05 -05:00
dfinke
b75f651eee Trying out PassThru 2016-02-17 20:39:07 -05:00
dfinke
1e2c468289 Add NotEqual conditional type 2016-02-17 19:49:01 -05:00
dfinke
60151de80a Add 'Equal' for conditional text type 2016-02-17 19:44:14 -05:00
dfinke
06c1f2a560 Added InvariantInfo to the TryParse call 2016-01-25 14:20:32 -05:00
dfinke
ff25cb45da Made parameter names the same 2016-01-25 14:20:31 -05:00
dfinke
fc3a17bec8 Added new conditional formatting 2016-01-25 14:20:29 -05:00
dfinke
acb02d222e Implemented conditional text formatting 2016-01-17 14:56:25 -05:00
dfinke
6a91634025 Added ConditionalText and ConditionalTextColor 2016-01-15 17:54:18 -05:00
dfinke
0cee3a5576 Added ShowPercent, ShowCategory, NoLegend 2015-12-26 14:50:57 -05:00
dfinke
c17a272f1e Revert "Add ShowPercent, ShowCategory and NoLegend switches"
This reverts commit 5bcced2b7c.
2015-12-26 14:42:56 -05:00
dfinke
5bcced2b7c Add ShowPercent, ShowCategory and NoLegend switches 2015-12-26 14:29:24 -05:00
dfinke
d8af9dc681 Needs additional work 2015-12-20 20:27:16 -05:00
dfinke
4ea7f5d05b Supports auto detect for Hyperlink 2015-12-20 16:37:14 -05:00
dfinke
4c620ee630 Added several new features 2015-12-17 16:53:13 -05:00
dfinke
cd67a760c2 Backed out the doc 2015-10-23 11:25:54 -04:00
DarkLite1
97a2f369a6 Improved code formatting and added 'Path' parameter validation
Improved code formatting and added 'Path' parameter validation. When a
path doesn't exist we throw an error. When the file extension provided
by the user isn't correct, we throw an error.
2015-10-21 11:01:33 +02:00
Doug Finke
379eb64924 Merge pull request #48 from DarkLite1/Test-Branch
Added help for Export-Excel
2015-10-20 07:05:11 -07:00
dfinke
808df7fa38 Added .Invoke, required for versions < 4.0 2015-10-20 09:54:21 -04:00
DarkLite1
da668dc4a7 Added help for Export-Excel
Improved help by adding a richer explenation of the different parameters
and better examples. Also note that 'TitleBold' is no longer of type
Boolean but is now a switch as it can only true or false.
2015-10-20 14:48:18 +02:00