Excel 2010 PowerShell I

This now works for a non-US locale.

001
002
003
004
$xl = New-Object -ComObject "Excel.Application"
$xl.visible = $true
$wb = $xl.workbooks
$wb.Add()

 

Well to be strictly correct it works in a UK locale and I’m assuming it works for other non-US locales.  As previous versions of Excel threw a wobbly and we had to use an awful work around this is a step forward.

Now we need true PowerShell support for Office :-)

I know the OpenXml PowerShell functionality has been extended.  Time to try that against Office 2010

Technorati Tags: ,
Published Thu, Jul 16 2009 20:01 by RichardSiddaway
Filed under:

Comments

# re: Excel 2010 PowerShell I

It seems, that it still does not work with Hungarian locale :-((((

Sunday, December 20, 2009 10:12 AM by Tibor Soos

Leave a Comment

(required) 
(required) 
(optional)
(required) 
If you can't read this number refresh your screen
Enter the numbers above: