Standarddateiformat: Registrierungswert defaultformat (excel\options)BenutzerHKCU\software\policies\microsoft\office\16.0\excel\options
- Richtlinien-ID
- L_SaveExcelfilesas
- Bereich
- Benutzerkonfiguration
- Unterstützt unter
- Mindestens Windows Server 2008 R2 oder Windows 7
- Quelle
- Microsoft 365 Apps / Office Administrative Templates (Version 5568.1000)
- Kategorie
- Microsoft Excel 2016 › Excel-Optionen › Speichern
Registrierung
defaultformat
REG_DWORDBenutzerHKCU\software\policies\microsoft\office\16.0\excel\options Aktueller Schlüssel
- Wert bei Aktivierung
- Hängt vom Wert der Option ab
- Element
- Excel-Dateien speichern unter
| Eintrag | Gespeicherter Wert |
|---|---|
| Excel-Arbeitsmappe (*.xlsx) | 51 |
| Excel-Arbeitsmappe mit Makros (*.xlsm) | 52 |
| Excel-Binärarbeitsmappe (*.xlsb) | 50 |
| Webseite (*.htm; *.html) | 44 |
| Excel 97-2003-Arbeitsmappe (*.xls) | 56 |
| Excel 5.0/95-Arbeitsmappe (*.xls) | 39 |
| OpenDocument Spreadsheet (*.ods) | 60 |
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\excel\options] ; Optionen (nur eine verwenden) ; Excel-Arbeitsmappe (*.xlsx) "defaultformat"=dword:00000033 ; Excel-Arbeitsmappe mit Makros (*.xlsm) "defaultformat"=dword:00000034 ; Excel-Binärarbeitsmappe (*.xlsb) "defaultformat"=dword:00000032 ; Webseite (*.htm; *.html) "defaultformat"=dword:0000002c ; Excel 97-2003-Arbeitsmappe (*.xls) "defaultformat"=dword:00000038 ; Excel 5.0/95-Arbeitsmappe (*.xls) "defaultformat"=dword:00000027 ; OpenDocument Spreadsheet (*.ods) "defaultformat"=dword:0000003c
CMD
:: Optionen (nur eine verwenden) :: Excel-Arbeitsmappe (*.xlsx) reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "defaultformat" /t REG_DWORD /d 51 /f :: Excel-Arbeitsmappe mit Makros (*.xlsm) reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "defaultformat" /t REG_DWORD /d 52 /f :: Excel-Binärarbeitsmappe (*.xlsb) reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "defaultformat" /t REG_DWORD /d 50 /f :: Webseite (*.htm; *.html) reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "defaultformat" /t REG_DWORD /d 44 /f :: Excel 97-2003-Arbeitsmappe (*.xls) reg add "HKCU\software\policies\microsoft\office\16.0\excel\options" /v "defaultformat" /t REG_DWORD /d 56 /f :: Excel 5.0/95-Arbeitsmappe (*.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
# Gemeinsam: Schlüssel erstellen New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null # Optionen (nur eine verwenden) # Excel-Arbeitsmappe (*.xlsx) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'defaultformat' -PropertyType DWord -Value 51 -Force | Out-Null # Excel-Arbeitsmappe mit Makros (*.xlsm) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'defaultformat' -PropertyType DWord -Value 52 -Force | Out-Null # Excel-Binärarbeitsmappe (*.xlsb) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'defaultformat' -PropertyType DWord -Value 50 -Force | Out-Null # Webseite (*.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-Arbeitsmappe (*.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-Arbeitsmappe (*.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