既定のシートの方向 のレジストリ値 defaultsheetr2lユーザーHKCU\software\policies\microsoft\office\16.0\excel\options
- ポリシー ID
- L_Defaultdirection
- 適用対象
- ユーザーの構成
- サポートされるバージョン
- Windows Server 2008 R2、Windows 7 またはそれ以降
- 出典
- Microsoft 365 Apps / Office Administrative Templates (バージョン 5568.1000)
- カテゴリ
- Microsoft Excel 2016 › Excel のオプション › 詳細設定
レジストリ
defaultsheetr2l
REG_DWORDユーザー- 有効時の値
- オプションの値に依存
- 要素
- 既定のシートの方向
| 項目 | 保存される値 |
|---|---|
| 右から左 | 1 |
| 左から右 | 0 |
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\excel\options] ; 選択項目 (1 つだけ使用) ; 右から左 "defaultsheetr2l"=dword:00000001 ; 左から右 "defaultsheetr2l"=dword:00000000
CMD
:: 選択項目 (1 つだけ使用) :: 右から左 reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "defaultsheetr2l" /t REG_DWORD /d 1 /f :: 左から右 reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "defaultsheetr2l" /t REG_DWORD /d 0 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null # 選択項目 (1 つだけ使用) # 右から左 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'defaultsheetr2l' -PropertyType DWord -Value 1 -Force | Out-Null # 左から右 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'defaultsheetr2l' -PropertyType DWord -Value 0 -Force | Out-Null