I have recently installed Excel 2007.
When I try to run some of my old files created under Excel 2003 then I get multiple problems normally on LARGE files with VBA code.
They all run ok on earlier versions.
The error messages are as follows:
"Run-time error '28': Out of stack space"
Some times followed by:
"Run-time error '-2147417848 (80010108) Method 'Value' of object 'Range' failed"
and usually followed by
"Microsoft Office Excel has encountered a problem and needs to close...."
under the second message the code is typically as follows (not always the same code)
Private Sub Worksheet_Change(ByVal Target As Range)
... code....
If Target.Address = "$AA$1" Then
' Show "Master"
If Range("AA1").Value = "Master" Then
Worksheets("Master").Visible = True
Exit Sub
End If
... more code...
End sub
I also find that if the file is saved under Excel 2007 and then re-opened in Excel 2003 the errors do occur.
Any idea what can cause this.
When I try to run some of my old files created under Excel 2003 then I get multiple problems normally on LARGE files with VBA code.
They all run ok on earlier versions.
The error messages are as follows:
"Run-time error '28': Out of stack space"
Some times followed by:
"Run-time error '-2147417848 (80010108) Method 'Value' of object 'Range' failed"
and usually followed by
"Microsoft Office Excel has encountered a problem and needs to close...."
under the second message the code is typically as follows (not always the same code)
Private Sub Worksheet_Change(ByVal Target As Range)
... code....
If Target.Address = "$AA$1" Then
' Show "Master"
If Range("AA1").Value = "Master" Then
Worksheets("Master").Visible = True
Exit Sub
End If
... more code...
End sub
I also find that if the file is saved under Excel 2007 and then re-opened in Excel 2003 the errors do occur.
Any idea what can cause this.