mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-06 00:23:20 +00:00
Added try/catch. Expanded aliases
This commit is contained in:
@@ -1,14 +1,20 @@
|
||||
$Symbol = "MSFT"
|
||||
<#
|
||||
Revisit I think yahoo deprecated their service
|
||||
#>
|
||||
|
||||
. .\Get-StockInfo.ps1
|
||||
# try {. $PSScriptRoot\..\..\LoadPSD1.ps1} catch {}
|
||||
|
||||
rm *.xlsx
|
||||
# $Symbol = "MSFT"
|
||||
|
||||
$chart = New-ExcelChart -XRange Date -YRange Volume `
|
||||
-ChartType ColumnStacked `
|
||||
-Column 9 -Title "$Symbol Volume"
|
||||
# . .\Get-StockInfo.ps1
|
||||
|
||||
Get-StockInfo $Symbol 11/2 11/30 |
|
||||
Export-Excel .\stocks.xlsx -Show `
|
||||
-AutoSize -AutoNameRange `
|
||||
-ExcelChartDefinition $chart
|
||||
# Remove-Item *.xlsx -ErrorAction Ignore
|
||||
|
||||
# $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