J
Jerry G. Slater
Is it possible to start Excel from a command prompt and
pass it parameters like a DOS/C;Delphi;etc program and
pass it parameters?
I've tried executing it from a cmd prompt like:
C:\.....\excel.exe a b c d
and it thinks a b c d are files.
In mainframe terms, I want to start it like:
// EXEC PGM=EXCEL,PARM='02042004, FULL'
or in a C program be able to read
ArgC, and ArgV
or in Delphi be able to get
ParamCt, ParamStr(0..ParamCt)
I'm actually I'm going to do a create task API call to
start Excel with "ONE" file that has several macros and a
workbook_open() to run the stuff.
But I need to be able to grab a sequential file and read
it, but it will have an "unknown" name so I can't hard
code it and I DON'T want to open it in ANOTHER workbook....
got any clues anyone??
Thanks
JGS
pass it parameters like a DOS/C;Delphi;etc program and
pass it parameters?
I've tried executing it from a cmd prompt like:
C:\.....\excel.exe a b c d
and it thinks a b c d are files.
In mainframe terms, I want to start it like:
// EXEC PGM=EXCEL,PARM='02042004, FULL'
or in a C program be able to read
ArgC, and ArgV
or in Delphi be able to get
ParamCt, ParamStr(0..ParamCt)
I'm actually I'm going to do a create task API call to
start Excel with "ONE" file that has several macros and a
workbook_open() to run the stuff.
But I need to be able to grab a sequential file and read
it, but it will have an "unknown" name so I can't hard
code it and I DON'T want to open it in ANOTHER workbook....
got any clues anyone??
Thanks
JGS