Shell comand

  • Thread starter Thread starter pls123
  • Start date Start date
P

pls123

Hi all !! im using this and it seems working fine..
x = Shell("C:\Userguide.exe")

but somebody suggetsed me this...that makes the same thing but opening
the dos prompt..
x = Shell("cmd.exe /c C:\Userguide.exe", 1) ...can anybody tell me... what
" ,1 " means ??

WOuld this one work fine too ??..
Shell ("C:\Userguide.exe")

tx all
 
Hi,

The optional numeric switch of 1 gives the programme called with shell the
focus. The switch has several options, all of which can be found under Shell
in Excel help.


Shell("C:\WINDOWS\CALC.EXE", 1) wouldn't work

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Shell Command 1
shell function + wait parameter 2
Two Question 1
Array coding type mismatch 6
Shell 1
Running A Shell Command In VBA 1
Open document with Shell 1
run awk95 using Shell() 3

Back
Top