# Revert To Legacy Warning in Excel

When using ActiveX controls like AutoOpen, Excel has a custom warning about using ActiveX controls and issues the following warning:

![](https://216667902-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MfpNy7QBsIOaHJ1vcf-%2F-MfsXyc2MITNdgL-Uoch%2F-MfsdDupaEKzlALOMump%2Fimage.png?alt=media\&token=eef27f83-f4e6-4e17-85b2-6ffdf3eb7d18)

1. Unzip the document
2. Add the `visibility="hidden"` attribute to the `workbookView` element in the `xl/workbook.xml` file.
