Try posting your question to a VB6 or Excel programming newsgroup. This is
a VB.Net newsgroup.
In .Net, you use "Process.Start" , but I don't think this will work for you.
Robin S.
----------------------------------
"Alessio" <Alessio@discus sions.microsoft .comwrote in message
news:84A3E77E-59D4-4EB6-901D-BD9A21BAD4DE@mi crosoft.com...
>I need to make a system call from an Excel macro to execute something in
>DOS.
I there a command like system("command ") in Visual Basic?
Thanks a lot
there is a object browser open it up and explore what the language provides
shell("C:\windo ws\system32\get mac")
if you need to more control over parameters and return codes / handles etc,
you will need the API function
SHELLEXECUTE( )
Mike
"Alessio" <Alessio@discus sions.microsoft .comwrote in message
news:84A3E77E-59D4-4EB6-901D-BD9A21BAD4DE@mi crosoft.com...
>I need to make a system call from an Excel macro to execute something in
>DOS.
I there a command like system("command ") in Visual Basic?
Thanks a lot
Comment