The latest snag in our COBOL <--> Excel saga.
All of a sudden, yesterday, I couldn’t execute RAW-STAFFCOMP.cbl. Error:
Execution error : file 'RAW-STAFFCOMP'
error code: 240, pc=0, call=1, seg=0
240 Object reference not valid
The error was at this statement: invoke WorkSheet "finalize" returning WorkSheet.
Thinking I might have somehow clobbered the program, I compiled an earlier version which had previously executed perfectly. Exactly the same error occurred.
Is there something I can tweak, maybe in the Project Properties? Or maybe I need to re-install Visual COBOL?