ctac,
Thankyou for the reply.
Sorry I can't read French and I am using XL2003. This look similar to the
code I saw for getting the cmd line from Excel itself as opposed to the
workbook cmd line?
--
Trefor
"ctac" wrote:
> Hi,
>
> You can try that. It's OK with XL2007 and Vista.
> Sorry, it's in french.
>
> http://xcell05.free.fr/pages/prog/parametres.htm
>
> ctac
>
> "Trefor" wrote:
>
> > If it possible to read an arg from the command line in VBA?
> >
> > myworkbook.xls arg1 arg2
> >
> > I would like to run a certain macro if a certain argument or parameter is
> > specified.
> > --
> > Trefor