Software Archive
Read-only legacy content
17061 Discussions

Starting a fortran 77 program from a visual basic macro (Excel)

Intel_C_Intel
Employee
291 Views
Good Evening

I am using a shell instruction from a macro in Excel in order to run a fort ran 77 program ex; Quality.exe
You will find included a copy of this macro:

Dim MyAppID, Return Value

MyAppID = Shell("I:Micro soft Visual StudioCommonMSDEV98BINDFDEV.EXE I:QualiteEauprojetsQual2EQual2e.dsw ", 4)

This shell command start the proper project and that I have to do to execute the program is to press the Ctrl-F5 key
But in order to automate this operation, I would like to know which command line can I use to simulate that I am pressing
this Ctrl-F5 key or in other words What can I do to start the program.
Please give me an example to help me.
Thanks in advance
0 Kudos
1 Reply
Steven_L_Intel1
Employee
291 Views
Are you trying to debug the program when run this way? If not, why not just shell the program directly?

Steve
0 Kudos
Reply