5
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Office XMLでエクセルにスタイルを設定する。

5
Posted at

Styles

Style

属性 備考
ss:ID 英数 <Cell ss:StyleID > から呼び出す値

Alignment

属性 備考
ss:Vertical Top 上寄せ
ss:Vertical Center 中寄せ
ss:Vertical Bottom 下寄せ
ss:Horizontal Left 左寄せ
ss:Horizontal Center 中寄せ
ss:Horizontal Right 右寄せ

Borders

Border

属性 備考
ss:Position Top 上罫線
ss:Position Bottom 下罫線
ss:Position Left 左罫線
ss:Position Right 右罫線
ss:LineStyle Continuous 実線
ss:LineStyle Dash 破線
ss:LineStyle Dot 点線
ss:Weight 2 罫線幅

Font

属性 備考
ss:FontName MS Pゴシック フォント
ss:Size 11 フォントサイズ(pt)
ss:Color #000000 フォントカラー

Interior

属性 備考
ss:Color #2F75B5 背景色
ss:Pattern Solid 背景色パターン

NumberFormat

属性 備考
ss:Format 0000000000 ゼロ詰め
ss:Format #,##0 数値(カンマ区切り)
ss:Format 000-0000 数値(郵便番号)
5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?