Your code is equivalent to:
Code:
--------------------
Sub BBB()
Dim x As Long
x = Shell("C:\Program Files\Common Files\Microsoft Shared\MODI\11.0\MSPVIEW.EXE", 1)
End Sub
--------------------
Before executing this macro, can we detect whether application is
already running/opened??
--
ilyaskazi
------------------------------------------------------------------------
ilyaskazi's Profile:
http://www.excelforum.com/member.php...o&userid=23969
View this thread:
http://www.excelforum.com/showthread...hreadid=494858