I've searched and found no answers for this problem. I have seen this problem before on the msg board.
I get Run-time-error 57121 when opening Excel file, when setting the scrollarea.
I made the file in Excel2007 and sent out to other person to fill in some data. Before sending out all was ok and no errors.
When file received back I get the error when opening.
Sheets is still there. Any ref to the sheet I get an error as if the sheets has been deleted.
What can be the problem? Can it be the Excel version the other person used to fill in the sheet?
rgds
I get Run-time-error 57121 when opening Excel file, when setting the scrollarea.
Code:
Private Sub Workbook_Open()
'Set scroll area
Sheets("Records").ScrollArea = "$A$1:$AE$70"
End Sub
I made the file in Excel2007 and sent out to other person to fill in some data. Before sending out all was ok and no errors.
When file received back I get the error when opening.
Sheets is still there. Any ref to the sheet I get an error as if the sheets has been deleted.
What can be the problem? Can it be the Excel version the other person used to fill in the sheet?
rgds