VBA Load System Calculator

shamas21

Registered User.
Local time
Today, 15:26
Joined
May 27, 2008
Messages
162
Hi All

Can someone tell me how I can Load the basic System Calculator (the one that comes with every windows operating system) via VBA, say at the click of the button?

Thanks
 
Straight out of Access help:
Example

This example uses the Shell function to run an application specified by the user. On the MacIntosh, the default drive name is "HD" and portions of the pathname are separated by colons instead of backslashes. Similarly, you would specify Macintosh folders instead of \Windows.
' Specifying 1 as the second argument opens the application in
' normal size and gives it the focus.
Dim RetVal
RetVal = Shell("C:\WINDOWS\CALC.EXE", 1) ' Run Calculator.
 

Users who are viewing this thread

Back
Top Bottom