Thread: Shell comand
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default Shell comand

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


"pls123" wrote:


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 ??..


tx all