M
Mike Charney
I am trying to shell out to run a VB script file. I do not need to track the
progress of the shell. It can fire off and then the VBA code can continue.
The code I have is:
hTask = Shell("c:\Cdosmtp.vbs", 1)
I have tried to dim hTask as an integer and Long, as well as no designation
but I am receiving a Run-time Error 5 on that line.
Is this not the correct way to shell from an Access VBA module?
I have never used the shell command in Access VBA before, how does it work?
Mike
m charney at dunlap hospital dot org
progress of the shell. It can fire off and then the VBA code can continue.
The code I have is:
hTask = Shell("c:\Cdosmtp.vbs", 1)
I have tried to dim hTask as an integer and Long, as well as no designation
but I am receiving a Run-time Error 5 on that line.
Is this not the correct way to shell from an Access VBA module?
I have never used the shell command in Access VBA before, how does it work?
Mike
m charney at dunlap hospital dot org