mirror of
https://github.com/dfinke/ImportExcel.git
synced 2026-01-09 12:03:21 +00:00
Initial commit
This commit is contained in:
14
Examples/Stocks/GetMSFT.ps1
Normal file
14
Examples/Stocks/GetMSFT.ps1
Normal file
@@ -0,0 +1,14 @@
|
||||
$Symbol = "MSFT"
|
||||
|
||||
. .\Get-StockInfo.ps1
|
||||
|
||||
rm *.xlsx
|
||||
|
||||
$chart = New-ExcelChart -XRange Date -YRange Volume `
|
||||
-ChartType ColumnStacked `
|
||||
-Column 9 -Title "$Symbol Volume"
|
||||
|
||||
Get-StockInfo $Symbol 11/2 11/30 |
|
||||
Export-Excel .\stocks.xlsx -Show `
|
||||
-AutoSize -AutoNameRange `
|
||||
-ExcelChartDefinition $chart
|
||||
Reference in New Issue
Block a user