Warning This workaround may make a computer or a network more vulnerable to attack by malicious users or by malicious software such as viruses. We do not recommend this workaround but are providing this information so that you can implement this workaround at your own discretion. Use this workaround at your own risk.
Reduce the security level for the XSL style sheet
To work around this issue, you must reduce the security level for the XSL style sheet. Use this workaround only if you trust the source of the Excel 2007 workbook and if you trust the source of the XSL style sheet. We recommend that you change the security level of only the XSL style sheet for the Excel 2007 workbook. After you finish using the workbook, set the security level of the XSL style sheet back to the highest security level.
To reduce the security level for the XSL style sheet, follow these steps:
- Start Registry Editor:
- Windows Vista
Click Start, type REGEDIT in the Start Search box, and then press ENTER.
If you are prompted for an administrator password or for a confirmation, type the password, or click Allow. - Microsoft Windows XP:
Click Start, click Run, type regedit, and then click OK.
- In Registry Editor, locate and then click the following key:
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Excel\Security\XSLSecurityLevel
- On the File menu, click Export.
- In the File name box, type Backup_XSL_Settings.reg, and then click Save.
- On the Edit menu, click Modify.
- Type 1, and then press ENTER.
Restore the security level for the XSL style sheet
When you finish using the Excel 2007 workbook, you must set the XSL style sheet security level back to the highest level. To do this, follow these steps:
- Start Registry Editor:
- Windows Vista
Click Start, type REGEDIT in the Start Search box, and then press ENTER.
If you are prompted for an administrator password or for a confirmation, type the password, or click Allow. - Microsoft Windows XP
Click Start, click Run, type regedit, and then click OK.
- Locate and then click the following key in the registry:
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Excel\Security\XSLSecurityLevel
- On the Edit menu, click Modify.
- Type 0, and then press ENTER.