(DISCLAIMER: I'm not a programmer, I spend my time on serverfault, I'm just a lowly admin)
We have an excel spreadsheet with vb code in it that was created in Office 2003.
We've recently gone to Office 2007, and the spreadsheet continued to work as normal.
However, after installing service pack 2 for Office 2007 the spreadsheet now fails with an error stating : "variable not defined"
If I comment out the "Option Explicit" statement at the top of the code then the code works fine.
What I don't understand is that when the error occurs it is occurring on something that isn't even a variable (unless I'm wrong?).
Click the below image to see the screenshot:
*http://filedb.experts-exchange.com/incoming/2009/06_w23/t144890/snip.JPG*