Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi guys:
I need a tips related to run the following shorcut: c:\MyBook.xls parameter1 parameter2.. in order to use those parameters in a Query that already exists in the excel file "Mybook.xls" Thanks & Regards Rodrigo |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Rodrigo,
You can't pass parameters, as a command line, to an xls file as it is not an executable. You open the WB and set the relevant cell values with automation. NickHK "Rodrigo" wrote in message ... Hi guys: I need a tips related to run the following shorcut: c:\MyBook.xls parameter1 parameter2.. in order to use those parameters in a Query that already exists in the excel file "Mybook.xls" Thanks & Regards Rodrigo |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You could use an indirect method where you launch a vbs file that takes
arguments and also launches your xls file. Script within the vbs file can be written to either run a macro within your xls file or populate certain cells with the values given by the arguments. The "Wscript.Shell" opject has an arguments collection. Steve Yandl "Rodrigo" wrote in message ... Hi guys: I need a tips related to run the following shorcut: c:\MyBook.xls parameter1 parameter2.. in order to use those parameters in a Query that already exists in the excel file "Mybook.xls" Thanks & Regards Rodrigo |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
command line options/switches to print excel file | Excel Worksheet Functions | |||
Print an excel file from command line or "cron" type command ??? | Excel Programming | |||
Load DBF file into Excel on command line? | Excel Discussion (Misc queries) | |||
Read only command line switch | Excel Discussion (Misc queries) | |||
call excel 2003 macro from command line | Excel Programming |