Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error msg: "Return object has been deleted by the file handler"

Status
Not open for further replies.

Charmaine

Programmer
Jul 18, 2001
3
JP
Hi,
I am running the following command from a VBS file (Visual Basic Scripting).
"Return = WshShell.Run("123w.exe -w" & FileNm, 1, TRUE)" and passing FileNm as the 1-2-3 file I want to open.

I am using LotusScript within 1-2-3 to do some manipulation of the data (eg. change cell value, update prices etc). When I have finished using the 1-2-3 I need to return to the VBS to continue other processing. I use the CurrentApplication.Quit , False to exit my 1-2-3. It does return to the .VBS but I get the error message below every time. Any ideas ? Do I need to close or delete something before I exit ? Is there a method I can use to capture what objects there are when I am closing ?

Error message is:
Lotus 1-2-3
"Return object has been deleted by the event handler.
If you are using an application developed by someone else, contact the application developer."

Thanks in advance.
Charmaine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top