Forum Discussion

Prometheus22's avatar
Prometheus22
Copper Contributor
Nov 05, 2021
Solved

Undeclared Prefix Error in one sheet - XML

I have an excel file template that is consistently giving me a XML error on one sheet every time it is opened. I've unzipped the excel file to get the specific sheet prior to excel trying to recover ...
  • Stephane_Zwel's avatar
    Nov 08, 2021
    xdr is one of the OfficeOpen XML namespaces. As a namespace, it has to be defined before using it. So in either parent element, just do the following :

    <controls xmlns:xdr="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing">

Resources