[Migrated content. Thread originally posted on 10 March 2011]
Hello allI'm new to this forum so please excuse any mistakes in protocol...
Can anyone assist with the following:
The operation required is to start Excel from Cobol by using the C$SYSTEM command, passing control to the user and only returning to Cobol after the user closes Excel.
So far the following command opens Excel (blank, with no workbooks/worksheets active):
call "C$SYSTEM" using "C:\\Program Files\\Microsoft Office\\Office12\\EXCEL.exe" 129.
However, as Excel opens, it needs to simultaneously open a specific workbook, and worksheet which has been populated in advance with fields from a given policy record(6 fields on the relevant worksheet are unprotected and variable). The user may then experiment with projected values by changing the unprotected fields, and finally close Excel and return to the Cobol program, where the originally passed values will be refreshed.
Is anyone able to assist?
Thanks a mil
Ruth



