R
Russ via AccessMonster.com
Hello, have the following code,
Private Sub Calc_Click()
Dim RetVal
RetVal = Shell("C:\WINDOWS\CALC.EXE", 1) ' Run Calculator.
End Sub
but when Itry to compile I get this error;
Compile error; Expected variable or procedure, not project
What am I doing wrong? What else do I need?
Private Sub Calc_Click()
Dim RetVal
RetVal = Shell("C:\WINDOWS\CALC.EXE", 1) ' Run Calculator.
End Sub
but when Itry to compile I get this error;
Compile error; Expected variable or procedure, not project
What am I doing wrong? What else do I need?