Standaardbestandsindeling: registerwaarde defaultformat (excel\options)GebruikerHKCU\software\policies\microsoft\office\16.0\excel\options

Beleids-ID
L_SaveExcelfilesas
Bereik
Gebruikersconfiguratie
Ondersteund op
Minimaal Windows Server 2008 R2 of Windows 7
Bron
Microsoft 365 Apps / Office Administrative Templates (versie 5568.1000)
Categorie
Microsoft Excel 2016 › Opties voor Excel › Opslaan

Register

defaultformat

REG_DWORDGebruiker
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Excel-bestanden opslaan als
Opties
ItemOpgeslagen waarde
Excel-werkmap (*.xlsx)51
Excel-werkmap met macro's (*.xlsm)52
Excel binaire werkmap (*.xlsb)50
Webpagina (*.htm; *.html)44
Excel 97-2003-werkmap (*.xls)56
Excel 5.0/95-werkmap (*. xls)39
OpenDocument-spreadsheet (*.ods)60
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opties (gebruik er maar één)
; Excel-werkmap (*.xlsx)
"defaultformat"=dword:00000033
; Excel-werkmap met macro's (*.xlsm)
"defaultformat"=dword:00000034
; Excel binaire werkmap (*.xlsb)
"defaultformat"=dword:00000032
; Webpagina (*.htm; *.html)
"defaultformat"=dword:0000002c
; Excel 97-2003-werkmap (*.xls)
"defaultformat"=dword:00000038
; Excel 5.0/95-werkmap (*. xls)
"defaultformat"=dword:00000027
; OpenDocument-spreadsheet (*.ods)
"defaultformat"=dword:0000003c
CMD
:: Opties (gebruik er maar één)

:: Excel-werkmap (*.xlsx)
reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "defaultformat" /t REG_DWORD /d 51 /f
:: Excel-werkmap met macro's (*.xlsm)
reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "defaultformat" /t REG_DWORD /d 52 /f
:: Excel binaire werkmap (*.xlsb)
reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "defaultformat" /t REG_DWORD /d 50 /f
:: Webpagina (*.htm; *.html)
reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "defaultformat" /t REG_DWORD /d 44 /f
:: Excel 97-2003-werkmap (*.xls)
reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "defaultformat" /t REG_DWORD /d 56 /f
:: Excel 5.0/95-werkmap (*. xls)
reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "defaultformat" /t REG_DWORD /d 39 /f
:: OpenDocument-spreadsheet (*.ods)
reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "defaultformat" /t REG_DWORD /d 60 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null

# Opties (gebruik er maar één)
# Excel-werkmap (*.xlsx)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'defaultformat' -PropertyType DWord -Value 51 -Force | Out-Null
# Excel-werkmap met macro's (*.xlsm)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'defaultformat' -PropertyType DWord -Value 52 -Force | Out-Null
# Excel binaire werkmap (*.xlsb)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'defaultformat' -PropertyType DWord -Value 50 -Force | Out-Null
# Webpagina (*.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-werkmap (*.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-werkmap (*. xls)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'defaultformat' -PropertyType DWord -Value 39 -Force | Out-Null
# OpenDocument-spreadsheet (*.ods)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'defaultformat' -PropertyType DWord -Value 60 -Force | Out-Null