current code:
Private Sub Form_DblClick(Cancel As Integer)
Dim stAppName As String
stAppName = "C:\program files\microsoft office\office\EXCEL.EXE"
Call Shell(stAppName, 1)
end sub
however, i only want this to run if the file is not currently open on this machine.. how can i stop multiple versions of excel running?
the string i have used is just to test the function, an inhouse exe file will run once i get the code right..
Private Sub Form_DblClick(Cancel As Integer)
Dim stAppName As String
stAppName = "C:\program files\microsoft office\office\EXCEL.EXE"
Call Shell(stAppName, 1)
end sub
however, i only want this to run if the file is not currently open on this machine.. how can i stop multiple versions of excel running?
the string i have used is just to test the function, an inhouse exe file will run once i get the code right..