funband(ファンバンド) スポーツの応援をより楽しくするウェアラブルデバイスを紹介。速報表示・体感・イルミネーションでファンライフを盛り上げます。
![funband](https://cdn-ak-scissors.b.st-hatena.com/image/square/57ba6f61b351312d3abc450c127e69d9b2fe8536/height=288;version=1;width=512/https%3A%2F%2Ffunband.jp%2Fimages%2Fogp_image.png)
DATE : 6/25/2012 COMMENT: This is an updated Version of my Cook Book from Augest of 2008 =============================================================== All errors and mistakes are my own. Thanks to all who have helped along the way. One thing I would add is that if you are using anything but a US locale version of Excel some of these scripts won’t work, especially adding and saving workbooks. Her
ブログからの転記 経緯 お仕事で Windows を使うようになり 1 ヶ月、 報告用 Excel に記述するのも面倒になり、PowerShell である程度作ってしまおうという気になってきていて、他の人にも同じような気持ちになって欲しいので、「お?簡単そうじゃね?」と思ってもらうために書いてみました。 サンプルコードをコピペで感覚をつかめると思いますので、少しでも興味持つ人が増えてくれると嬉しいです。 環境 Windows 10 PowerShell 5.0 Excel 2016 1. PowerShell の起動 まずは、PowerShell を起動しましょう。 PowerShell ISE ではなく、PowerShell を起動してください。 Windows マーク(メニューボタン?)を右クリックしてファイル名を指定して実行、powershell と入力して OK を押すと起動します
最近久しぶりにエクセルで書かれた仕様書を印刷しようとしたらページ設定がめちゃくちゃになっていて、一つ一つ手で直していたら心が腱鞘炎になりかかったので、PowerShellで一気に直してみました。家にエクセルがないので、正確には何をやっているスクリプトなのか忘れましたが、印刷設定で、横1ページに収まるよう変更します。 $dir = '\\server\shiyousyo\' $e = New-Object -ComObject Excel.Application $e.Visible = $true ls $dir | % { [void]$e.Workbooks.Open($_.FullName) Write-Host "file - $($_.Name)" for($i = 1; $i -le $e.Workbooks.Item(1).Sheets.Count; $i++){ $s =
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く