Is there a code that will display the calculator installed a computer?
Is there a code that will display the calculator installed a computer?
See the vba help topics for Shell Function and the example under SendKeys.
[vba]
Sub exa1()
Dim lCalc As Long
lCalc = Shell("C:\WINDOWS\System32\CALC.EXE", 1) ' Run Calculator.
End Sub
[/vba]
Hope that helps,
Mark
Thank you Mark
You are very welcome :-)