I have taken over a project for an employee who left, and I'm having some trouble with one of his excel workbooks. The file opens fine on my co-workers' computers but it fails when I try to open it on mine.
I get a pop up that says "File error: data may have been lost" when I open the workbook. I click 'ok'.
Then I get another popup that says "Run-time error '57121', application-defined or object-defined error". I click 'debug'.
It takes me into the VB editor, and this code line is highlighted:
Has anyone run into this problem before? Thanks for your help!!
I get a pop up that says "File error: data may have been lost" when I open the workbook. I click 'ok'.
Then I get another popup that says "Run-time error '57121', application-defined or object-defined error". I click 'debug'.
It takes me into the VB editor, and this code line is highlighted:
Code:
Public Sub Workbook_Open()
Sheets("Search").ScrollArea = "$A$1:$Z$55" <--**highlighted line**
End Sub
Has anyone run into this problem before? Thanks for your help!!