Export excel questions #1343
Unanswered
MusekininKanchou
asked this question in
Q&A
Replies: 2 comments
-
Try this$xlfile = ".\spike.xlsx"
Remove-Item $xlfile -ErrorAction SilentlyContinue
$data = ConvertFrom-Csv @"
Description
This is a very long description that will be wrapped to the next line
"@
$xl = $data | Export-Excel $xlfile -PassThru
Set-ExcelRange -Worksheet $xl.Sheet1 -Range 'A2' -WrapText -Width 12
Close-ExcelPackage $xl -Show |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
I have a column with fairly long descriptions. I'd like to limit how wide that column gets when I autosize and enable wrap text on the column. Can that be done at export or do I have to import the file and do a bunch of screwing around with it to do that?
Beta Was this translation helpful? Give feedback.
All reactions