Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do you pass the prove it test for Microsoft Excel? | New Users to Excel | |||
Pass a time value from Excel to Outlook appointment | Excel Discussion (Misc queries) | |||
how to pass on different parameters to VBA Code? | Excel Worksheet Functions | |||
How do I my find pass word in excel | Setting up and Configuration of Excel | |||
Starting a userform upon starting the file | Excel Programming |