기본 파일 형식 레지스트리 값 defaultformat (excel\options)사용자HKCU\software\policies\microsoft\office\16.0\excel\options

정책 ID
L_SaveExcelfilesas
범위
사용자 구성
지원 OS
Windows Server 2008 R2 또는 Windows 7 이상
출처
Microsoft 365 Apps / Office Administrative Templates (버전 5568.1000)
카테고리
Microsoft Excel 2016 › Excel 옵션 › 저장

레지스트리

defaultformat

REG_DWORD사용자
활성 값
선택 값에 따름
요소
저장 형식
선택 값
항목저장 값
Excel 통합 문서 (*.xlsx)51
Excel 매크로 사용 통합 문서 (*.xlsm)52
Excel 바이너리 통합 문서 (*.xlsb)50
웹 페이지 (*.htm; *.html)44
Excel 97-2003 통합 문서 (*.xls)56
Excel 5.0/95 통합 문서 (*.xls)39
OpenDocument 스프레드시트(*.ods)60
.reg · CMD · PowerShell로 적용하기
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\excel\options]

; 선택 항목 (하나만 사용)
; Excel 통합 문서 (*.xlsx)
"defaultformat"=dword:00000033
; Excel 매크로 사용 통합 문서 (*.xlsm)
"defaultformat"=dword:00000034
; Excel 바이너리 통합 문서 (*.xlsb)
"defaultformat"=dword:00000032
; 웹 페이지 (*.htm; *.html)
"defaultformat"=dword:0000002c
; Excel 97-2003 통합 문서 (*.xls)
"defaultformat"=dword:00000038
; Excel 5.0/95 통합 문서 (*.xls)
"defaultformat"=dword:00000027
; OpenDocument 스프레드시트(*.ods)
"defaultformat"=dword:0000003c
CMD
:: 선택 항목 (하나만 사용)

:: Excel 통합 문서 (*.xlsx)
reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "defaultformat" /t REG_DWORD /d 51 /f
:: Excel 매크로 사용 통합 문서 (*.xlsm)
reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "defaultformat" /t REG_DWORD /d 52 /f
:: Excel 바이너리 통합 문서 (*.xlsb)
reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "defaultformat" /t REG_DWORD /d 50 /f
:: 웹 페이지 (*.htm; *.html)
reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "defaultformat" /t REG_DWORD /d 44 /f
:: Excel 97-2003 통합 문서 (*.xls)
reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "defaultformat" /t REG_DWORD /d 56 /f
:: Excel 5.0/95 통합 문서 (*.xls)
reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "defaultformat" /t REG_DWORD /d 39 /f
:: OpenDocument 스프레드시트(*.ods)
reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "defaultformat" /t REG_DWORD /d 60 /f
PowerShell
# 공통: 키 만들기
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null

# 선택 항목 (하나만 사용)
# Excel 통합 문서 (*.xlsx)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'defaultformat' -PropertyType DWord -Value 51 -Force | Out-Null
# Excel 매크로 사용 통합 문서 (*.xlsm)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'defaultformat' -PropertyType DWord -Value 52 -Force | Out-Null
# Excel 바이너리 통합 문서 (*.xlsb)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'defaultformat' -PropertyType DWord -Value 50 -Force | Out-Null
# 웹 페이지 (*.htm; *.html)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'defaultformat' -PropertyType DWord -Value 44 -Force | Out-Null
# Excel 97-2003 통합 문서 (*.xls)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'defaultformat' -PropertyType DWord -Value 56 -Force | Out-Null
# Excel 5.0/95 통합 문서 (*.xls)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'defaultformat' -PropertyType DWord -Value 39 -Force | Out-Null
# OpenDocument 스프레드시트(*.ods)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'defaultformat' -PropertyType DWord -Value 60 -Force | Out-Null