mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-06 00:23:20 +00:00
Updated
This commit is contained in:
@@ -29,7 +29,6 @@ $xlPkg = $(
|
||||
New-PSItem south 40
|
||||
) | Export-Excel $file -PassThru
|
||||
|
||||
|
||||
$ws=$xlPkg.Workbook.Worksheets[1]
|
||||
|
||||
$ws.Cells["A3"].Value = "Hello World"
|
||||
@@ -38,12 +37,14 @@ $ws.Cells["D1:D5"].Value = "Data"
|
||||
|
||||
$ws.Cells.AutoFitColumns()
|
||||
|
||||
$xlPkg.Save()
|
||||
$xlPkg.Save()
|
||||
$xlPkg.Dispose()
|
||||
|
||||
|
||||
Invoke-Item $file
|
||||
```
|
||||
|
||||
## Result
|
||||

|
||||
|
||||
Known Issues
|
||||
-
|
||||
|
||||
Reference in New Issue
Block a user